From 4de40e338e0ee1292fff49f81a2288beade7f817 Mon Sep 17 00:00:00 2001
From: nservant <nicolas.servant@curie.fr>
Date: Mon, 16 Jan 2023 21:42:31 +0100
Subject: [PATCH] [BUG] fix bug in channel.from

---
 workflows/hic.nf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/workflows/hic.nf b/workflows/hic.nf
index faa6a59..fed1114 100644
--- a/workflows/hic.nf
+++ b/workflows/hic.nf
@@ -257,8 +257,8 @@ workflow HIC {
   ch_workflow_summary = Channel.value(workflow_summary)
 
   ch_multiqc_files = Channel.empty()
-  ch_multiqc_files = ch_multiqc_files.mix(Channel.from(ch_multiqc_config))
-  ch_multiqc_files = ch_multiqc_files.mix(Channel.from(ch_multiqc_custom_config.collect().ifEmpty([])))
+  ch_multiqc_files = ch_multiqc_files.mix(ch_multiqc_config)
+  ch_multiqc_files = ch_multiqc_files.mix(ch_multiqc_custom_config.collect().ifEmpty([]))
   ch_multiqc_files = ch_multiqc_files.mix(ch_workflow_summary.collectFile(name: 'workflow_summary_mqc.yaml'))
   ch_multiqc_files = ch_multiqc_files.mix(FASTQC.out.zip.map{it->it[1]})
   ch_multiqc_files = ch_multiqc_files.mix(HICPRO.out.mqc)
-- 
GitLab