From b51730586216fadae9ed84d23a6c5992d1b07eac Mon Sep 17 00:00:00 2001 From: Lucpen Date: Sun, 13 Oct 2024 19:16:25 +0200 Subject: [PATCH] fix nextflow.script.ScriptBinding.check_max() --- conf/base.config | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/conf/base.config b/conf/base.config index 6b73b04..010c78e 100644 --- a/conf/base.config +++ b/conf/base.config @@ -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' @@ -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 } } } }