From 0b2b784e1d86ba8d68c501f6fb905433dcc8f02e Mon Sep 17 00:00:00 2001 From: meowcat Date: Tue, 26 Oct 2021 18:47:58 +0200 Subject: [PATCH] Update process-collect.nf Fixes cases with a single file. Note that this example with `cat` would still work with a single file, but `ls *.fq` would not. https://github.com/nextflow-io/nextflow/issues/2410 --- process-collect.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process-collect.nf b/process-collect.nf index 39f9ce3..f9932f4 100644 --- a/process-collect.nf +++ b/process-collect.nf @@ -42,7 +42,7 @@ process foo { process bar { echo true input: - file '*.fq' from unzipped_ch.collect() + file '?.fq' from unzipped_ch.collect() """ cat *.fq | head -n 50 """