Skip to content

Commit

Permalink
fix nextflow.script.ScriptBinding.check_max()
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucpen committed Oct 13, 2024
1 parent 578edd4 commit b517305
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ process {
memory = { 200.GB * task.attempt }
}
withLabel:process_very_long {
time = { check_max( 100.h * task.attempt, 'time' ) }
time = { 100.h * task.attempt }
}
withLabel:error_ignore {
errorStrategy = 'ignore'
Expand All @@ -64,15 +64,15 @@ process {
}
if (!params.skip_export_counts_drop) {
withLabel:process_drop {
cpus = { check_max( 36 * task.attempt, 'cpus' ) }
memory = { check_max( 144.GB , 'memory' ) }
time = { check_max( 48.h * task.attempt, 'time' ) }
cpus = { 36 * task.attempt }
memory = { 144.GB }
time = { 48.h * task.attempt }
}
} else {
withLabel:process_drop {
cpus = { check_max( 12 * task.attempt, 'cpus' ) }
memory = { check_max( 72.GB * task.attempt, 'memory' ) }
time = { check_max( 16.h * task.attempt, 'time' ) }
cpus = { 12 * task.attempt }
memory = { 72.GB * task.attempt }
time = { 16.h * task.attempt }
}
}
}

0 comments on commit b517305

Please sign in to comment.