Skip to content

Commit

Permalink
remove missing check_max from nextflow.config
Browse files Browse the repository at this point in the history
  • Loading branch information
mirpedrol committed Sep 25, 2024
1 parent 282e8fe commit 854ddf9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nf_core/pipeline-template/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ includeConfig 'conf/base.config'
{%- else %}
process {
// TODO nf-core: Check the defaults for all processes
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
memory = { check_max( 6.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
cpus = { 1 * task.attempt }
memory = { 6.GB * task.attempt }
time = { 4.h * task.attempt }

errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' }
maxRetries = 1
Expand Down

0 comments on commit 854ddf9

Please sign in to comment.