1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 00:26:03 +00:00

retry without Exception

This commit is contained in:
Piotr Faba 2020-05-27 16:22:56 +02:00
parent 1354ae4063
commit c31b03108c

View file

@ -3,9 +3,9 @@ params.globalConfig = determine_global_config()
includeConfig params.globalConfig
def determine_global_config() {
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")
}
// 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")
// }
return System.getenv('NXF_GLOBAL_CONFIG')
}