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

20 lines
634 B
Text

params{
config_profile_description = 'Boehringer Ingelheim internal profile provided by nf-core/configs.'
config_profile_contact = 'Alexander Peltzer (@apeltzer)'
config_profile_url = 'https://www.boehringer-ingelheim.com/'
}
params.globalConfig = set_global_config()
def set_global_config() {
def config = System.getenv('NXF_GLOBAL_CONFIG')
if(config == 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{
includeConfig config
}
return config
}