Skip to content

Commit 5702d88

Browse files
authored
Merge pull request #517 from nf-core/jfy133-patch-1
Add base exit codes to try to labelled process settings
2 parents 9d95cb2 + 80ff2fc commit 5702d88

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

conf/base.config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@ process {
8282

8383
// Add 141 ignore due to unclean pipe closing by pmdtools https://github.com/pontussk/PMDtools/issues/7
8484
withName: pmdtools {
85-
errorStrategy = { task.exitStatus in [141] ? 'ignore' : 'retry' }
85+
errorStrategy = { task.exitStatus in [143,137,104,134,139,141] ? 'ignore' : 'retry' }
8686
}
8787

8888
// Add 1 retry for certain java tools as not enough heap space java errors gives exit code 1
8989
withName: dedup {
90-
errorStrategy = { task.exitStatus in [1] ? 'retry' : 'finish' }
90+
errorStrategy = { task.exitStatus in [1,143,137,104,134,139] ? 'retry' : 'finish' }
9191
}
9292

9393
// Add 1 retry as not enough heapspace java error gives exit code 1
9494
withName: malt {
95-
errorStrategy = { task.exitStatus in [1] ? 'retry' : 'finish' }
95+
errorStrategy = { task.exitStatus in [1,143,137,104,134,139] ? 'retry' : 'finish' }
9696
}
9797

9898
// other process specific exit statuses
9999
withName: nuclear_contamination {
100-
errorStrategy = { task.exitStatus in [134] ? 'ignore' : 'retry' }
100+
errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'ignore' : 'retry' }
101101
}
102102

103103
withName: multiqc {

0 commit comments

Comments
 (0)