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 68a8488 commit f731820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/local/kleborate.nf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ process kleborate {
errorStrategy { task.attempt < 2 ? 'retry' : 'ignore'}

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

output:
path "kleborate/*_results.tsv" , emit: collect, optional: true
Expand All @@ -16,7 +16,7 @@ process kleborate {
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 ?: '--all'
Expand Down

0 comments on commit f731820

Please sign in to comment.