Skip to content

Commit

Permalink
Adds errorStrategy as a parameter; Sets default to terminate
Browse files Browse the repository at this point in the history
  • Loading branch information
cgpu authored Mar 3, 2022
1 parent b93c1f7 commit 2341840
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conf/executors/google.config
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ executor {
}

params {
errorStrategy = 'terminate'
// Max resources
max_memory = 100.GB
max_cpus = 16
Expand All @@ -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"
Expand Down

0 comments on commit 2341840

Please sign in to comment.