Skip to content

Commit

Permalink
Merge pull request #1745 from nf-core/oncomplete-fix
Browse files Browse the repository at this point in the history
Fix bug where workflow can hang if the email parameter is set.
  • Loading branch information
FriederikeHanssen authored Dec 9, 2024
2 parents 4ebae21 + e68b414 commit 9569c93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [1702](https://github.com/nf-core/sarek/pull/1702) - Update nf-schema tests that were not failing on lenient mode
- [1712](https://github.com/nf-core/sarek/pull/1712) - Fix missing import statements on error messages when starting without samplesheet
- [1743](https://github.com/nf-core/sarek/pull/1743) - Add setup java 17 in GHA for latest Nextflow version
- [1745](https://github.com/nf-core/sarek/pull/1745) - Fix bug where workflow can hang if the email parameter is set

### Removed

Expand Down
4 changes: 3 additions & 1 deletion subworkflows/local/utils_nfcore_sarek_pipeline/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ workflow PIPELINE_COMPLETION {
main:
summary_params = paramsSummaryMap(workflow, parameters_schema: "nextflow_schema.json")

def multiqc_report_list = multiqc_report.toList()

//
// Completion email and summary
//
Expand All @@ -195,7 +197,7 @@ workflow PIPELINE_COMPLETION {
plaintext_email,
outdir,
monochrome_logs,
multiqc_report.toList()
multiqc_report_list.getVal()
)
}

Expand Down

0 comments on commit 9569c93

Please sign in to comment.