1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-11 04:23:10 +00:00
nf-configs/conf/bi.config

12 lines
366 B
Text
Raw Normal View History

2020-05-27 14:19:15 +00:00
params.globalConfig = determine_global_config()
2020-05-27 14:24:47 +00:00
// includeConfig params.globalConfig
2020-05-27 14:19:15 +00:00
def determine_global_config() {
2020-05-27 14:22:56 +00:00
// 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")
// }
2020-05-27 14:19:15 +00:00
return System.getenv('NXF_GLOBAL_CONFIG')
}