Skip to content

Commit

Permalink
error strategy enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
AggressiveHayBale committed Feb 13, 2023
1 parent c9d1559 commit 725b460
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 10 deletions.
7 changes: 2 additions & 5 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,8 @@ profiles {
includeConfig 'configs/nodes.config'

// cloud error strategy
//process.errorStrategy = { task.exitStatus in [10,14,143,137,104,134,139] ? 'retry' : 'ignore' }
//process.maxRetries = 3
process.errorStrategy = { task.exitStatus in [10,14,143,137,104,134,139] ? 'retry' : 'ignore' }
process.maxRetries = 3
}

// test_profile
// test {
// }
}
1 change: 0 additions & 1 deletion workflows/process/analysis.nf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
process analysis {
label 'r'
errorStrategy 'ignore'
input:
//tuple val(id), path(prokka_faa), path(prokka_gff), path(bakta_faa), path(bakta_gff), path(eggnog_faa), path(eggnog_gff), path(pgap_faa), path(pgap_gff)
tuple val(id), val(type1), path(prokka_1), path(prokka_2), val(type2), path(bakta_1), path(bakta_2), val(type3), path(eggnog_1), path(eggnog_2), val(type4), path(pgap_1), path(pgap_2)
Expand Down
1 change: 0 additions & 1 deletion workflows/process/bakta.nf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ process bakta_database {

process bakta {
label 'bakta'
errorStrategy 'ignore'
input:
tuple val(name), val(species), path(fasta), val(type)
path(bakta_db_dir)
Expand Down
1 change: 0 additions & 1 deletion workflows/process/eggnog.nf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ process eggnog_database {

process eggnog {
label 'eggnog'
errorStrategy 'ignore'
input:
tuple val(name), val(species), path(fasta), val(type)
path(eggnog_db_dir)
Expand Down
1 change: 0 additions & 1 deletion workflows/process/pgap.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ process pgap_database {

process pgap {
label 'pgap'
errorStrategy 'ignore'
input:
tuple val(name), val(species), path(fasta), val(type)
path(pgap_db)
Expand Down
1 change: 0 additions & 1 deletion workflows/process/prokka.nf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
process prokka {
label 'prokka'
errorStrategy 'ignore'
input:
tuple val(name), val(species), path(fasta), val(type)
output:
Expand Down

0 comments on commit 725b460

Please sign in to comment.