Bug report
Expected behavior and actual behavior
When using a param with camelCase, a duplicated copy is made with hyphens (camel-case). I've never noticed this before, but the new @nf-core schema validation now warns about these params as they are unexpected.
Expected behaviour would be to, well, not do this. 😀
Steps to reproduce the problem
params.snake_case = 'foo'
params.camelCase = 'bar'
params.multiCamelCaseParam = 'baz'
println(params)
Program output
$ nextflow run main.nf
N E X T F L O W ~ version 21.03.0-edge
Launching `main.nf` [elegant_euler] - revision: b5f0bc6361
[snake_case:foo, camelCase:bar, camel-case:bar, multiCamelCaseParam:baz, multi-camel-case-param:baz]
More readable:
snake_case: foo
camelCase: bar
camel-case: bar
multiCamelCaseParam: baz
multi-camel-case-param: baz
'cc @KevinMenden @Leon-Bichmann
Bug report
Expected behavior and actual behavior
When using a
paramwith camelCase, a duplicated copy is made with hyphens (camel-case). I've never noticed this before, but the new @nf-core schema validation now warns about these params as they are unexpected.Expected behaviour would be to, well, not do this. 😀
Steps to reproduce the problem
Program output
More readable:
snake_case:foocamelCase:barcamel-case:barmultiCamelCaseParam:bazmulti-camel-case-param:baz'cc @KevinMenden @Leon-Bichmann