mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 08:29:54 +00:00
test error display
This commit is contained in:
parent
18d8edb046
commit
3c695ba71c
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ includeConfig params.globalConfig
|
|||
def determine_global_config() {
|
||||
if( System.getenv('NXF_GLOBAL_CONFIG') == null)
|
||||
{
|
||||
System.err.println("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')
|
||||
|
|
Loading…
Reference in a new issue