From c5fe03facc623247d8e6326a4f4cd052518eec5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?In=C3=AAs=20Mendes?= Date: Mon, 15 Jul 2019 12:16:19 +0100 Subject: [PATCH] remove optional tre --- flowcraft/generator/templates/reads_download.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flowcraft/generator/templates/reads_download.nf b/flowcraft/generator/templates/reads_download.nf index 16e67af3..e7cff8c4 100644 --- a/flowcraft/generator/templates/reads_download.nf +++ b/flowcraft/generator/templates/reads_download.nf @@ -21,7 +21,7 @@ process reads_download_{{ pid }} { each file(aspera_key) from IN_asperaKey_{{ pid }} output: - set val({ "$name" != "null" ? "$name" : "$accession_id" }), file("${accession_id}/*fq.gz") optional true into {{ output_channel }} + set val({ "$name" != "null" ? "$name" : "$accession_id" }), file("${accession_id}/*fq.gz") into {{ output_channel }} {% with task_name="reads_download", sample_id="accession_id" %} {%- include "compiler_channels.txt" ignore missing -%} {% endwith %}