Skip to content

Commit 582774b

Browse files
authored
Merge pull request #3304 from nf-core/remove-channel-operations-from-oncomplete
Remove toList() channel operation from inside onComplete block
2 parents b14b504 + 9f4036c commit 582774b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
- Update pre-commit hook astral-sh/ruff-pre-commit to v0.8.2 ([#3325](https://github.com/nf-core/tools/pull/3325))
6363
- Make CLI prompt less nf-core specific ([#3326](https://github.com/nf-core/tools/pull/3326))
6464
- Update gitpod vscode extensions to use nf-core extension pack ([#3327](https://github.com/nf-core/tools/pull/3327))
65+
- Remove toList() channel operation from inside onComplete block ([#3304](https://github.com/nf-core/tools/pull/3304))
6566

6667
## [v3.0.2 - Titanium Tapir Patch](https://github.com/nf-core/tools/releases/tag/3.0.2) - [2024-10-11]
6768

nf_core/pipeline-template/modules.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"utils_nfcore_pipeline": {
3030
"branch": "master",
31-
"git_sha": "9a1e8bb6a5d205cf7807dcefca872a3314b2f3e6",
31+
"git_sha": "85400682a2abac63b09c863c138e91e5df7236b5",
3232
"installed_by": ["subworkflows"]
3333
}{% if nf_schema %},
3434
"utils_nfschema_plugin": {

nf_core/pipeline-template/subworkflows/local/utils_nfcore_pipeline_pipeline/main.nf

+5-1
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ workflow PIPELINE_COMPLETION {
140140
summary_params = [:]
141141
{%- endif %}
142142

143+
{%- if multiqc %}
144+
def multiqc_reports = multiqc_report.toList()
145+
{%- endif %}
146+
143147
//
144148
// Completion email and summary
145149
//
@@ -153,7 +157,7 @@ workflow PIPELINE_COMPLETION {
153157
plaintext_email,
154158
outdir,
155159
monochrome_logs,
156-
{% if multiqc %}multiqc_report.toList(){% else %}[]{% endif %}
160+
{% if multiqc %}multiqc_reports.getVal(),{% else %}[]{% endif %}
157161
)
158162
}
159163
{%- endif %}

0 commit comments

Comments
 (0)