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
|
|
|
params.globalConfig = determine_global_config()
|
|
|
|
|
2020-05-27 14:30:00 +00:00
|
|
|
includeConfig params.globalConfig
|
2020-05-27 14:19:15 +00:00
|
|
|
|
|
|
|
def determine_global_config() {
|
2020-05-27 14:30:00 +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')
|
|
|
|
}
|