Skip to content

Commit

Permalink
fix skip_multiqc channel not exist error
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonHafner committed Dec 9, 2024
1 parent daadac3 commit a2e9c83
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 a2e9c83

Please sign in to comment.