mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
added when section
This commit is contained in:
parent
ad98111756
commit
918a7f0363
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ process MAXQUANT_LFQ {
|
|||
tuple val(meta), path("*.txt"), emit: maxquant_txt
|
||||
path "versions.yml" , emit: version
|
||||
|
||||
when:
|
||||
task.ext.when == null || task.ext.when
|
||||
|
||||
script:
|
||||
def args = task.ext.args ?: ''
|
||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||
|
|
Loading…
Reference in a new issue