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

21 lines
634 B
Text
Raw Normal View History

2020-05-27 15:41:19 +00:00
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/'
}
2020-05-27 14:19:15 +00:00
2020-06-18 18:30:05 +00:00
params.globalConfig = set_global_config()
2020-05-27 14:19:15 +00:00
2020-06-18 18:30:05 +00:00
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
2020-05-27 14:19:15 +00:00
}