Skip to content

Commit

Permalink
Merge pull request #986 from mskcc/bugfix/fix_process_directives
Browse files Browse the repository at this point in the history
moved process directives that use . (dot) notation to a process closure
  • Loading branch information
anoronh4 authored Jun 15, 2023
2 parents b574758 + 115c6e0 commit 2ea61ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions conf/juno.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ea61ff

Please sign in to comment.