From f731820e46369074d4ff14bed59c9c4433d19704 Mon Sep 17 00:00:00 2001 From: eriny Date: Wed, 26 Jun 2024 16:52:16 -0600 Subject: [PATCH] removed flag --- modules/local/kleborate.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/local/kleborate.nf b/modules/local/kleborate.nf index 177cd0d..a8d84ad 100644 --- a/modules/local/kleborate.nf +++ b/modules/local/kleborate.nf @@ -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 @@ -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'