Skip to content

Commit

Permalink
removed flag
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung committed Jun 26, 2024
1 parent d46878d commit 6f90843
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions modules/local/pbptyper.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ process pbptyper {
errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'}

input:
tuple val(meta), file(contigs), val(flag)
tuple val(meta), file(contigs)

output:
path "pbptyper/${meta.id}.tsv" , emit: collect
Expand All @@ -17,7 +17,7 @@ process pbptyper {
path "versions.yml" , emit: versions

when:
(task.ext.when == null || task.ext.when) && flag =~ 'found'
(task.ext.when == null || task.ext.when)

shell:
def args = task.ext.args ?: ''
Expand Down
4 changes: 2 additions & 2 deletions modules/local/seqsero2.nf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ process seqsero2 {
errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'}

input:
tuple val(meta), file(file), val(flag)
tuple val(meta), file(file)

output:
path "seqsero2/*/*" , emit: files
Expand All @@ -16,7 +16,7 @@ process seqsero2 {
path "versions.yml" , emit: versions

when:
(task.ext.when == null || task.ext.when) && flag =~ 'found'
(task.ext.when == null || task.ext.when)

shell:
def args = task.ext.args ?: '-m a -b mem'
Expand Down
4 changes: 2 additions & 2 deletions modules/local/serotypefinder.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ process serotypefinder {
errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'}

input:
tuple val(meta), file(file), val(flag), file(script)
tuple val(meta), file(file), file(script)

output:
path "serotypefinder/*/*" , emit: files
Expand All @@ -17,7 +17,7 @@ process serotypefinder {
path "versions.yml" , emit: versions

when:
(task.ext.when == null || task.ext.when) && flag =~ 'found'
(task.ext.when == null || task.ext.when)

shell:
def args = task.ext.args ?: ''
Expand Down
4 changes: 2 additions & 2 deletions modules/local/shigatyper.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ process shigatyper {
time '10m'

input:
tuple val(meta), file(input), val(flag), file(script)
tuple val(meta), file(input), file(script)

output:
path "shigatyper/*_shigatyper.tsv", optional: true, emit: files
Expand All @@ -17,7 +17,7 @@ process shigatyper {
path "versions.yml", emit: versions

when:
(task.ext.when == null || task.ext.when) && flag =~ 'found'
(task.ext.when == null || task.ext.when)

shell:
def args = task.ext.args ?: ''
Expand Down

0 comments on commit 6f90843

Please sign in to comment.