Skip to content

Commit

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

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

output:
tuple val(meta), val("drprg"), file("drprg/*/*.drprg.json"), emit: json
Expand All @@ -17,7 +17,7 @@ process drprg {
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 All @@ -35,7 +35,7 @@ process drprg {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
drprg: \$( drprg --version )
drprg: \$( drprg --version | awk '{print \$NF}')
END_VERSIONS
"""
}

0 comments on commit 6ac636d

Please sign in to comment.