Skip to content

Commit f647949

Browse files
glormphviklund
authored andcommitted
Trial and error to find out that != "" does not check for empty string, even though it is defined like it in params initialization
1 parent 1b5f084 commit f647949

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/devcore.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ process {
33
"-A $params.project"
44
}
55

6-
errorStrategy = { if (task.exitStatus == 143) { 'retry' } else if ($params.runfile != "" ) { 'ignore' } else { 'terminate' } }
6+
errorStrategy = { if (task.exitStatus == 143) { 'retry' } else if ( $params.runfile ) { 'ignore' } else { 'terminate' } }
77
queue = 'devcore'
88
executor = 'slurm'
99

config/standard.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ process {
33
"-A $params.project"
44
}
55

6-
errorStrategy = { if (task.exitStatus == 143) { 'retry' } else if ($params.runfile != "" ) { 'ignore' } else { 'terminate' } }
6+
errorStrategy = { if (task.exitStatus == 143) { 'retry' } else if ( $params.runfile ) { 'ignore' } else { 'terminate' } }
77
queue = 'core'
88
executor = 'slurm'
99

0 commit comments

Comments
 (0)