From 2bf66514c5e7cd60f26a45eb2e41797f94fa69ff Mon Sep 17 00:00:00 2001 From: MaxUlysse Date: Thu, 12 Dec 2019 11:50:10 +0100 Subject: [PATCH] fix issue with withLabel selector --- conf/pipeline/sarek/munin.config | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/conf/pipeline/sarek/munin.config b/conf/pipeline/sarek/munin.config index 5265007..e4413f2 100644 --- a/conf/pipeline/sarek/munin.config +++ b/conf/pipeline/sarek/munin.config @@ -16,9 +16,7 @@ params { // Specific nf-core/sarek process configuration process { withLabel:sentieon { - if (params.sentieon) { - module = 'sentieon/201808.05' - container = null - } + module = {params.sentieon ? 'sentieon/201808.05' : null} + container = {params.sentieon ? null : container} } }