Skip to content

Commit 4946b93

Browse files
committed
Remove deprecated validExitStatus code
1 parent d36a896 commit 4946b93

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

conf/base.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,15 @@ process {
9191
errorStrategy = { task.exitStatus in [1] ? 'retry' : 'finish' }
9292
}
9393

94+
// other process specific exit statuses
95+
withName: nuclear_contamination {
96+
errorStrategy = { task.exitStatus in [134] ? 'ignore' : 'retry' }
97+
}
98+
9499
withName: multiqc {
95100
errorStrategy = { task.exitStatus in [143,137] ? 'retry' : 'ignore' }
96101
}
102+
97103
}
98104

99105
params {

main.nf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2479,9 +2479,6 @@ process sex_deterrmine {
24792479
tag "${samplename}"
24802480
publishDir "${params.outdir}/nuclear_contamination", mode:"copy"
24812481

2482-
// ANGSD Xcontamination will exit with status 134 when the number of SNPs is too low
2483-
validExitStatus 0,134
2484-
24852482
when:
24862483
params.run_nuclear_contamination
24872484

0 commit comments

Comments
 (0)