Skip to content

Commit

Permalink
added time increase for task.attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung committed May 9, 2024
1 parent e954823 commit 205f253
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ manifest {
author = 'Erin Young'
homePage = 'https://github.com/UPHL-BioNGS/Donut_Falls'
description = "De novo assembly of long-reads"
version = '1.5.20240505'
version = '1.6.20240510'
nextflowVersion = '!>=22.10.1'
defaultBranch = 'main'
}
Expand Down Expand Up @@ -39,17 +39,17 @@ dag.enabled = true
process {
maxRetries = 1
maxErrors = '-1'
//errorStrategy = { task.attempt < 2 ? 'retry' : 'ignore'}
errorStrategy = { task.attempt < 2 ? 'retry' : 'ignore'}

withLabel:process_single {
cpus = { 1 }
memory = { 6.GB }
time = { 30.m }
time = { 30.m * task.attempt}
}
withLabel:process_low {
cpus = { 2 }
memory = { 12.GB }
time = { 2.h }
time = { 2.h * task.attempt }
}
withLabel:process_medium {
cpus = { 6 }
Expand Down

0 comments on commit 205f253

Please sign in to comment.