reduce complexity

olgabot-patch-2
Piotr Faba 4 years ago
parent 4181184f58
commit cb7a6f756a

@ -4,12 +4,11 @@ params{
config_profile_url = 'https://www.boehringer-ingelheim.com/'
}
def configVar = System.getenv('NXF_GLOBAL_CONFIG')
if(configVar == null)
params.globalConfig = System.getenv('NXF_GLOBAL_CONFIG')
if(params.globalConfig == null)
{
def errorMessage = "WARNING: For bi.config requires NXF_GLOBAL_CONFIG env var to be set. Point it to global.config file if you want to use this profile."
System.err.println(errorMessage)
}else{
params.globalConfig = configVar
includeConfig configVar
includeConfig params.globalConfig
}

Loading…
Cancel
Save