1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-25 03:59:55 +00:00

Merge pull request #217 from nf-core/combine-kreports-fix [skip ci]

Dont fail on divide by 0 errors on centrifuge
This commit is contained in:
James A. Fellows Yates 2023-01-25 13:48:06 +01:00 committed by GitHub
commit 098ec087c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -471,6 +471,7 @@ process {
} }
withName: KRAKENTOOLS_COMBINEKREPORTS_CENTRIFUGE { withName: KRAKENTOOLS_COMBINEKREPORTS_CENTRIFUGE {
errorStrategy = { task.exitStatus in [255,1] ? 'ignore' : 'retry' }
ext.prefix = { "centrifuge_${meta.id}_combined_reports" } ext.prefix = { "centrifuge_${meta.id}_combined_reports" }
publishDir = [ publishDir = [
path: { "${params.outdir}/centrifuge/" }, path: { "${params.outdir}/centrifuge/" },