-
Notifications
You must be signed in to change notification settings - Fork 190
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
Not all definitions
in JSON schema have a "properties", leading to an error.
#1419
Comments
Hmm, probably a problem of the builder. Did you create this schema by (re)moving all of the parameters from the |
It was the default setting after running |
which pipeline? |
Sorry, I can't reproduce your error (cloned your repo and ran the test profile). I don't see |
The workflow works at the moment. I got rid of the "reference_genome_options" which was causing the error using the builder. To be honest, I'm not even sure why the "reference_genome_options" is there, but I assume because it pulled it from some subworkflow. But to recreate the issue, delete the |
Okay, I think I found the problem. When building a schema it takes a skeleton schema from the template (which contains the |
@mashehu sounds like you've figured this one out - would you mind putting in a PR to fix it please? |
To reproduce run:
This should update the scheme to remove all of the |
You can also just create a new group in the web builder and not add any parameters to it. That has the same effect of leaving a dangling definition with no properties. Edit: Not quite the same as when you do that there is no |
Description of the bug
Relevant code:
tools/nf_core/pipeline-template/lib/NfcoreSchema.groovy
Lines 390 to 402 in a1bf2ad
Nextflow prints an error when including an nf-core workflow as a subworkflow and the schema doesn't match.
When using
nf-core schema build
to make the JSON schema, not all entries have the "properties" key, but the code expects it to be there. I'm not sure if this an issue for the builder or for the checker.Command used and terminal output
Relevant part of the JSON Schema (built using
nf-core schema build
)reference_genome_options
has noproperties
tag.The text was updated successfully, but these errors were encountered: