Skip to content

Commit

Permalink
updated mash error strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheww95 committed Oct 13, 2023
1 parent 7688198 commit ff1e350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ process {
withName: MASH_SCREEN {
def dir_out = null
//errorStrategy = { sleep(Math.pow(2, task.attempt) * 200 as long); return 'retry' }
errorStrategy = 'ignore'
errorStrategy = { task.attempt <= task.maxRetries ? sleep(Math.pow(2, task.attempt) * 200 as long) && 'retry' : 'finish' }
maxForks = 20
//dir_out = process.toString().contains("QC_READS") ? "read_quality/${params.mash.output_dir}/mash" : "taxon_determination/mash"
ext.args = "-w"
Expand Down

0 comments on commit ff1e350

Please sign in to comment.