-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support double nesting in nf-schema or required parameters #3437
Comments
Is this actually the issue? Based on your error message the deafult params are:
Which (correctly) is not considered valid against your schema. You can test this. Go to online schema validator
|
The required parameters don't have a default, that's why we remove all the required from the schema when we validate the defaults in nf-core. |
Here is the code, for reference |
Ok, perhaps I was misled by the title of the issue. This is not an issue of support in |
Ok, after a little look and play around with some Is anyone able to provide a minimal reproducible example of for the issue so that I can check it? (I guess I need a pipeline, a config, and a schema, but also to know which commands throw this error) |
Ok, had to modify the schema still, but took a guess that this was about
|
Description of feature
I have a complicated structure for my required parameters, and I solved it by defining it this way in my nextflow_schema.json
Yet I get the error:
@mirpedrol mentioned it is because of the double nesting is not supported yet. Would it be possible to support it? Would be fantastic!
The text was updated successfully, but these errors were encountered: