From 9b62f064d0cb74a01995233079b7ed0bddbcf495 Mon Sep 17 00:00:00 2001 From: Rob Syme Date: Thu, 5 Dec 2024 18:55:29 -0500 Subject: [PATCH] Move channel operations outside of the onComplete() block --- subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf b/subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf index 1745f8be6..5e8820ddc 100644 --- a/subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf +++ b/subworkflows/local/utils_nfcore_rnaseq_pipeline/main.nf @@ -116,6 +116,8 @@ workflow PIPELINE_COMPLETION { id, status -> pass_strand_check[id] = status } + def multiqc_report_list = multiqc_report.toList() + // // Completion email and summary // @@ -128,7 +130,7 @@ workflow PIPELINE_COMPLETION { plaintext_email, outdir, monochrome_logs, - multiqc_report.toList() + multiqc_report_list.getVal() ) }