Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions workflow/workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ params.PYTHONRUNTIME = "python" // this is a hack because CCMS cluster does not

if(params.parallel_files == "YES"){
process queryData {
errorStrategy 'ignore'
//errorStrategy 'ignore'
time '2h'
//maxRetries 3
//memory { 6.GB * task.attempt }
memory { 8.GB }

// This enable multiple retries with increasing ram, and if this all fails, lets retire it
// https://github.com/nextflow-io/nextflow/issues/563
maxRetries 3
errorStrategy { (task.exitStatus in 137..140 && task.attempt <= maxRetries) ? 'retry' : 'ignore' }
memory { 8.GB + 12.G * task.attempt }

publishDir "$params.publishdir/msql", mode: 'copy'

Expand Down