From 2341840d0f27426e1ba0bf3143ead94efb53c79f Mon Sep 17 00:00:00 2001 From: cgpu <38183826+cgpu@users.noreply.github.com> Date: Thu, 3 Mar 2022 17:45:01 +0000 Subject: [PATCH] Adds errorStrategy as a parameter; Sets default to terminate --- conf/executors/google.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/executors/google.config b/conf/executors/google.config index ef2690cc..67ceed08 100755 --- a/conf/executors/google.config +++ b/conf/executors/google.config @@ -13,6 +13,7 @@ executor { } params { + errorStrategy = 'terminate' // Max resources max_memory = 100.GB max_cpus = 16 @@ -24,7 +25,7 @@ params { process { maxRetries = params.max_retries - errorStrategy = { task.attempt == process.maxRetries ? 'ignore' : task.exitStatus in [3,9,10,14,143,137,104,134,139] ? 'retry' : 'ignore' } + errorStrategy = { task.attempt == process.maxRetries ? params.errorStrategy : task.exitStatus in [3,9,10,14,143,137,104,134,139] ? 'retry' : params.errorStrategy } container = 'gcr.io/nextflow-250616/splicing-pipelines-nf:gawk' withName: 'get_accession' { disk = "50 GB"