Hello, does the nf-core pipelines linter not like ...
# linting
n
Hello, does the nf-core pipelines linter not like
_
in params? I get things like this for all params that contain an underscore:
Copy code
nextflow_config: Config default value incorrect: params.flye_mode is set as "--nano-hq" in nextflow_schema.json but is null in nextflow.config.                                                                                         
nextflow_config: Config default value incorrect: params.flye_args is set as "" in nextflow_schema.json but is null in nextflow.config.
But they are correctly defined in nextflow.config?
m
can you post your nextflow_config and nextlfow_schema.json?
n
nextflow config for those two:
Copy code
params.flye_mode = "--nano-hq"
    params.flye_args = ""
schema:
Copy code
"flye_mode": {
            "type": "string",
            "description": "flye mode",
            "default": "\"--nano-hq\""
        },
        "flye_args": {
            "type": "string",
            "description": "additional args for flye",
            "default": "\"\""
        },
There are (many) other params, but this only happens for the ones with an underscore in the name and string type
m
"\"--nano-hq\""
should be
"--nano-hq"
(i think)
n
ok, this came out of
nf-core schema create
I think
sorry, build
ah, okay, I get it, I think i added the quotes when I provided the default value in the web-thing
Hm, while that was probably an issue, there is something else, a similar issue occurs now:
Copy code
nextflow_config: Config default value incorrect: params.flye_mode is set as --nano-hq in nextflow_schema.json but is null in nextflow.config. 
nextflow_config: Config default value incorrect: params.flye_args is set as `` in nextflow_schema.json but is null in nextflow.config.
config:
Copy code
params.flye_mode = "--nano-hq"
    params.flye_args = ""
schema:
Copy code
"flye_mode": {
            "type": "string",
            "description": "flye mode",
            "default": "--nano-hq"
        },
        "flye_args": {
            "type": "string",
            "description": "additional args for flye",
            "default": ""
        },