From d6c6be87919e9e3121d1a09ed82dda991ecb57c2 Mon Sep 17 00:00:00 2001 From: Andrea Talenti Date: Tue, 21 May 2024 08:47:27 +0100 Subject: [PATCH] Patch severus --- modules/local/wf-somatic-sv.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/local/wf-somatic-sv.nf b/modules/local/wf-somatic-sv.nf index 9bcbeb4..1083f50 100644 --- a/modules/local/wf-somatic-sv.nf +++ b/modules/local/wf-somatic-sv.nf @@ -7,7 +7,7 @@ process severus { label "wf_somatic_sv" cpus Math.max(4, params.severus_threads) // Allow retries for testing purposes - memory { severus_mem[task.attempt] } + memory { severus_mem[task.attempt - 1] } maxRetries 1 errorStrategy {task.exitStatus in [137,140] ? 'retry' : 'finish'} input: