From fa37e0662690c4ec4260dae282fbce08777503e6 Mon Sep 17 00:00:00 2001 From: Jose Espinosa-Carrasco Date: Mon, 4 Jul 2022 17:33:55 +0200 Subject: [PATCH] Add stub run to gunzip module (#1849) --- modules/gunzip/main.nf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/gunzip/main.nf b/modules/gunzip/main.nf index 61bf1afa..70367049 100644 --- a/modules/gunzip/main.nf +++ b/modules/gunzip/main.nf @@ -31,4 +31,14 @@ process GUNZIP { gunzip: \$(echo \$(gunzip --version 2>&1) | sed 's/^.*(gzip) //; s/ Copyright.*\$//') END_VERSIONS """ + + stub: + gunzip = archive.toString() - '.gz' + """ + touch $gunzip + cat <<-END_VERSIONS > versions.yml + "${task.process}": + gunzip: \$(echo \$(gunzip --version 2>&1) | sed 's/^.*(gzip) //; s/ Copyright.*\$//') + END_VERSIONS + """ }