From 74b59d06a7902bf63af00faddfaa8c797c92d9cc Mon Sep 17 00:00:00 2001 From: Louisa Perelo <44900284+louperelo@users.noreply.github.com> Date: Wed, 19 Jul 2023 11:08:50 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: James A. Fellows Yates --- workflows/funcscan.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/funcscan.nf b/workflows/funcscan.nf index 44f9c50e..17b7e6f8 100644 --- a/workflows/funcscan.nf +++ b/workflows/funcscan.nf @@ -282,7 +282,7 @@ workflow FUNCSCAN { ch_multiqc_files = ch_multiqc_files.mix(ch_workflow_summary.collectFile(name: 'workflow_summary_mqc.yaml')) ch_multiqc_files = ch_multiqc_files.mix(ch_methods_description.collectFile(name: 'methods_description_mqc.yaml')) ch_multiqc_files = ch_multiqc_files.mix(CUSTOM_DUMPSOFTWAREVERSIONS.out.mqc_yml.collect()) - if(params.annotation_tool=='prokka'){ch_multiqc_files = ch_multiqc_files.mix(PROKKA.out.txt.collect{it[1]}.ifEmpty([]))} + if(params.annotation_tool=='prokka'){ch_multiqc_files = ch_multiqc_files.mix( PROKKA.out.txt.collect{it[1]}.ifEmpty([])) } MULTIQC ( ch_multiqc_files.collect(),