From 1c820f21b33cde3d657978570d37d043a00337f7 Mon Sep 17 00:00:00 2001 From: James Fellows Yates Date: Fri, 20 Jan 2023 17:53:55 +0100 Subject: [PATCH] Dont fail on divide by 0 errors on centrifuge --- conf/modules.config | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/modules.config b/conf/modules.config index 28ede9d..ccf63e5 100644 --- a/conf/modules.config +++ b/conf/modules.config @@ -471,6 +471,7 @@ process { } withName: KRAKENTOOLS_COMBINEKREPORTS_CENTRIFUGE { + errorStrategy = { task.exitStatus in [255,1] ? 'ignore' : 'retry' } ext.prefix = { "centrifuge_${meta.id}_combined_reports" } publishDir = [ path: { "${params.outdir}/centrifuge/" },