mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-25 17:29:55 +00:00
retry without Exception
This commit is contained in:
parent
1354ae4063
commit
c31b03108c
1 changed files with 4 additions and 4 deletions
|
@ -3,9 +3,9 @@ params.globalConfig = determine_global_config()
|
||||||
includeConfig params.globalConfig
|
includeConfig params.globalConfig
|
||||||
|
|
||||||
def determine_global_config() {
|
def determine_global_config() {
|
||||||
if( System.getenv('NXF_GLOBAL_CONFIG') == null)
|
// 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")
|
// throw new Exception("Environment variable NXF_GLOBAL_CONFIG is missing. Set it to point to global.config file")
|
||||||
}
|
// }
|
||||||
return System.getenv('NXF_GLOBAL_CONFIG')
|
return System.getenv('NXF_GLOBAL_CONFIG')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue