Skip to content

Commit

Permalink
Merge pull request #3304 from nf-core/remove-channel-operations-from-…
Browse files Browse the repository at this point in the history
…oncomplete

Remove toList() channel operation from inside onComplete block
  • Loading branch information
mirpedrol authored Dec 9, 2024
2 parents b14b504 + 9f4036c commit 582774b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
- Update pre-commit hook astral-sh/ruff-pre-commit to v0.8.2 ([#3325](https://github.com/nf-core/tools/pull/3325))
- Make CLI prompt less nf-core specific ([#3326](https://github.com/nf-core/tools/pull/3326))
- Update gitpod vscode extensions to use nf-core extension pack ([#3327](https://github.com/nf-core/tools/pull/3327))
- Remove toList() channel operation from inside onComplete block ([#3304](https://github.com/nf-core/tools/pull/3304))

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

Expand Down
2 changes: 1 addition & 1 deletion nf_core/pipeline-template/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"utils_nfcore_pipeline": {
"branch": "master",
"git_sha": "9a1e8bb6a5d205cf7807dcefca872a3314b2f3e6",
"git_sha": "85400682a2abac63b09c863c138e91e5df7236b5",
"installed_by": ["subworkflows"]
}{% if nf_schema %},
"utils_nfschema_plugin": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ workflow PIPELINE_COMPLETION {
summary_params = [:]
{%- endif %}

{%- if multiqc %}
def multiqc_reports = multiqc_report.toList()
{%- endif %}

//
// Completion email and summary
//
Expand All @@ -153,7 +157,7 @@ workflow PIPELINE_COMPLETION {
plaintext_email,
outdir,
monochrome_logs,
{% if multiqc %}multiqc_report.toList(){% else %}[]{% endif %}
{% if multiqc %}multiqc_reports.getVal(),{% else %}[]{% endif %}
)
}
{%- endif %}
Expand Down

0 comments on commit 582774b

Please sign in to comment.