mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-25 17:29:55 +00:00
20 lines
634 B
Text
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
|
|
}
|