-
Notifications
You must be signed in to change notification settings - Fork 776
Closed
Closed
Copy link
Labels
Description
Bug report
Expected behavior and actual behavior
When you define a label in a config file with withLabel, the config parsing fails.
This just gives a warning in most cases, but when running nextflow -C <CONFIG> run, it just crashes...
I don't know withLabel has changed or the use of it in a config file is no longer supported...
Steps to reproduce the problem
main.nf
workflow {
main:
println "$params"
}
nextflow.config
params {
foo = 'bar'
}
process {
withLabel: foolabel {
cpus = 8
}
}
Program output
export NXF_SYNTAX_PARSER=v2;
nextflow config main.nf > test.config;
nextflow -C test.config run main.nf;
N E X T F L O W ~ version 25.04.6
Error test.config:1:5: Unexpected input: ':'
│ 1 | WARN: Unrecognized config option 'process.withLabel:foolabel.cpus'
╰ | ^
ERROR ~ Config parsing failed
-- Check '.nextflow.log' file for details
Environment
- Nextflow version:
25.04.6(not tested with other versions) - Operating system: Linux
Reactions are currently unavailable