You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Template generation with nf-core create (v 2.3.2) seems to cause an issue with the assets/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
groovy.lang.GroovyRuntimeException: Failed to parse template script (your template may contain an error or be trying to use expressions not currently supported): startup failed:
GStringTemplateScript2.groovy: 80: Unexpected character: '"' @ line 80, column 48.
ut << summary.collect{ k,v -> "
^
1 error
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
nf-core createnextflow run main.nf -params-file ./params.yml -profile test,cheaha --outdir results
# params.yml contained my email to the param `email`.
# institutional profile used here, but issue is not linked to that
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:
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 .prettierignore file. See #1510.
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: