-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to parse template script for workflow.onComplete
event handler
#1509
Labels
Comments
Thanks for reporting this @lianov 👍🏻 Tested and replicated locally. Confirmed that reverting the Prettier formatting changes fixes it. Instead of messing around trying to ignore specific bits of the file, I've just reverted the entire thing to how it was and am now ignoring it in the Tested locally and this seems to fix the issue. |
Perfect, thanks @ewels! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the bug
Template generation with
nf-core create
(v 2.3.2) seems to cause an issue with theassets/email_template.html
file.A simple workflow (FastQC + MultiQC) from the current template fails at the completion email/summary at the
workflow.onComplete
event handler (fails to invoke the event handler):From
.nextflow.log
Changing the
Pipeline Configuration
configuration section to the older style fixes the issue, e.g.:with the caveat of course that linting the workflow will cause an issue at this section since it's no longer synched with the template
Command used and terminal output
System information
Nextflow version: version 21.10.6
Hardware: HPC
Executor: executor - slurm
Container engine: Singularity
OS: CentOS Linux,
Version of nf-core/tools: 2.3.2
Python 3.9.12
The text was updated successfully, but these errors were encountered: