1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-10 20:13:09 +00:00
nf-configs/conf/bi.config
2020-05-27 16:30:00 +02:00

11 lines
351 B
Text

params.globalConfig = determine_global_config()
includeConfig params.globalConfig
def determine_global_config() {
if( System.getenv('NXF_GLOBAL_CONFIG') == null)
{
throw new Exception("Environment variable NXF_GLOBAL_CONFIG is missing. Set it to point to global.config file")
}
return System.getenv('NXF_GLOBAL_CONFIG')
}