Skip to content

Commit

Permalink
adding spades 21 exit status to list
Browse files Browse the repository at this point in the history
SPAdes has an 21 exit status that refers to abnormal terminations ... not always, but, must of the times it relates to memory ... thus, we added to the list of exit status to retry at least once with full allowed resources
  • Loading branch information
fmalmeida committed Mar 3, 2022
1 parent fe43838 commit dbf60a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ process {
time = { if (task.attempt == 1) { check_max( 16.h * task.attempt, 'time' ) } else { params.max_time } }

// retry at least once to try it with full resources
errorStrategy = { task.exitStatus in [143,137,104,134,139] ? 'retry' : 'finish' }
errorStrategy = { task.exitStatus in [21,143,137,104,134,139] ? 'retry' : 'finish' }
maxRetries = 1
maxErrors = '-1'
}
Expand Down

0 comments on commit dbf60a3

Please sign in to comment.