From 115c6e0e27b606b00bf9808b10f170eebc83cb09 Mon Sep 17 00:00:00 2001 From: Anne Marie Noronha Date: Thu, 15 Jun 2023 11:13:55 -0400 Subject: [PATCH] moved process directives that use . (dot) notation to a process closure --- conf/juno.config | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/conf/juno.config b/conf/juno.config index 20754096..6210b463 100644 --- a/conf/juno.config +++ b/conf/juno.config @@ -18,11 +18,10 @@ process { clusterOptions = "" scratch = true beforeScript = "module load singularity/3.1.1; unset R_LIBS; catch_term () { echo 'caught USR2/TERM signal'; set +e; false; on_exit ; } ; trap catch_term USR2 TERM" + maxRetries = 3 + errorStrategy = { task.attempt <= process.maxRetries ? 'retry' : 'ignore' } } -process.maxRetries = 3 -process.errorStrategy = { task.attempt <= process.maxRetries ? 'retry' : 'ignore' } - params { max_memory = "128.GB" mem_per_core = true