Hello!
I have a working custom pipeline where the newest linter in VSCode is complaining.
The snippet of interest is <nextflow.config>:
profiles {
standard {
...
}
cluster {
process {
executor = 'slurm'
...
}
executor {
jobName = { "PipelineName-${task.name.replaceAll(" ", "_")}" }
}
}
}
The complaints are on the jobName line:
Dynamic config options are only allowed in the
processscope
taskis not defined
The intent is to have all SLURM jobs identified with “PipelineName” and the specific task the job is running.
Which would be the proper way to achieve this outcome without the linter warnings?