Skip to content

Commit 73a5304

Browse files
authored
Merge pull request #438 from nf-core/fix_multiqc_skip
Fix multiqc skip
2 parents daadac3 + a90d020 commit 73a5304

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

workflows/chipseq.nf

+4-1
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,8 @@ workflow CHIPSEQ {
524524
//
525525
// MODULE: MultiQC
526526
//
527+
ch_multiqc_report = Channel.empty()
528+
527529
if (!params.skip_multiqc) {
528530
ch_multiqc_config = Channel.fromPath("$projectDir/assets/multiqc_config.yml", checkIfExists: true)
529531
ch_multiqc_custom_config = params.multiqc_config ? Channel.fromPath( params.multiqc_config ): Channel.empty()
@@ -578,7 +580,8 @@ workflow CHIPSEQ {
578580
ch_multiqc_report = MULTIQC.out.report
579581
}
580582

581-
emit:multiqc_report = MULTIQC.out.report.toList() // channel: /path/to/multiqc_report.html
583+
emit:
584+
multiqc_report = ch_multiqc_report.toList() // channel: /path/to/multiqc_report.html
582585
versions = ch_versions // channel: [ path(versions.yml) ]
583586

584587
}

0 commit comments

Comments
 (0)