

def _get_system_configfile(systemconfig, datadir):
    'Retrieve system configuration file from input or default directory.\n    '
    if systemconfig:
        if (not os.path.isabs(systemconfig)):
            return os.path.normpath(os.path.join(os.getcwd(), systemconfig))
        else:
            return systemconfig
    else:
        return os.path.join(systemconfig, 'galaxy', 'bcbio_system.yaml')

dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/docker/run.py _get_system_configfile/VarMisuse@78/113 `datadir`->`systemconfig`