I really want to get the nf-core template complian...
# infrastructure
p
I really want to get the nf-core template compliant with the v2 strict syntax parser. Partly because we're about to push out new Nextflow training which will update everything to use that (and workflow outputs etc) and I don't want the nf-core training to be the only part that doesn't get updated ๐Ÿฅน I just tried running a new pipeline from
nf-core pipelines create
with strict syntax and it didn't work with the test profile due to this error:
Copy code
ERROR ~ Validation of pipeline parameters failed!

 -- Check '.nextflow.log' file for details
The following invalid input values have been detected:

* Missing required parameter(s): input
This doesn't happen without strict syntax being enabled. Anyone else seen this behaviour? More in ๐Ÿงต
๐Ÿ‘๐Ÿป 1
To reproduce, run
nf-core pipelines create
with default options for an nf-core pipeline
Then:
Copy code
export NXF_SYNTAX_PARSER=v2
nextflow run nf-core-stricttest -profile test,docker --outdir ./results
This runs fine:
Copy code
unset NXF_SYNTAX_PARSER
nextflow run nf-core-stricttest -profile test,docker --outdir ./results
n
This is a known issue where the parameters in profiles aren't correctly assigned
Ben is aware of it and I think it will be fixed in the coming edge version
p
ok awesome. Is there a GH link anywhere?
n
p
Perfect, thank you!
Added comment to Ben here
extreme teamwork 1
@Nicolas Vannieuwkerke aside from two Nextflow bugs, the only other thing for strict syntax is to update the nf-schema plugin I think, to avoid the config warnings. Where are we with that upgrade? Is anything blocking it? We we just waiting because it bumps the minimum Nextflow version I think right?
n
Version 2.6.1 is fully compatible with the strict syntax. We just need to bump Nextflow first indeed
p
To 25.10?
n
Yes indeed, nf-schema 2.6.x needs Nextflow 25.10 and up
๐Ÿ‘๐Ÿป 2
๐Ÿ™๐Ÿป 1