Skip to content

Commit

Permalink
Merge pull request #1678 from nf-core/muffato-patch-1
Browse files Browse the repository at this point in the history
Single-core tasks shouldn't request more than 1 core
  • Loading branch information
matthdsm authored Jul 15, 2022
2 parents d5ee441 + 0fd5cdc commit ed355ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/pipeline-template/conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ process {
// TODO nf-core: Customise requirements for specific processes.
// See https://www.nextflow.io/docs/latest/config.html#config-process-selectors
withLabel:process_single {
cpus = { check_max( 1 * task.attempt, 'cpus' ) }
cpus = { check_max( 1 , 'cpus' ) }
memory = { check_max( 6.GB * task.attempt, 'memory' ) }
time = { check_max( 4.h * task.attempt, 'time' ) }
}
Expand Down

0 comments on commit ed355ed

Please sign in to comment.