Skip to content

Commit

Permalink
Merge pull request #438 from nf-core/fix_multiqc_skip
Browse files Browse the repository at this point in the history
Fix multiqc skip
  • Loading branch information
JoseEspinosa authored Dec 23, 2024
2 parents daadac3 + a90d020 commit 73a5304
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion workflows/chipseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@ workflow CHIPSEQ {
//
// MODULE: MultiQC
//
ch_multiqc_report = Channel.empty()

if (!params.skip_multiqc) {
ch_multiqc_config = Channel.fromPath("$projectDir/assets/multiqc_config.yml", checkIfExists: true)
ch_multiqc_custom_config = params.multiqc_config ? Channel.fromPath( params.multiqc_config ): Channel.empty()
Expand Down Expand Up @@ -578,7 +580,8 @@ workflow CHIPSEQ {
ch_multiqc_report = MULTIQC.out.report
}

emit:multiqc_report = MULTIQC.out.report.toList() // channel: /path/to/multiqc_report.html
emit:
multiqc_report = ch_multiqc_report.toList() // channel: /path/to/multiqc_report.html
versions = ch_versions // channel: [ path(versions.yml) ]

}
Expand Down

0 comments on commit 73a5304

Please sign in to comment.