Skip to content

Check schema against meta-schema #101

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

Open
ewels opened this issue Feb 3, 2025 · 2 comments · May be fixed by #113
Open

Check schema against meta-schema #101

ewels opened this issue Feb 3, 2025 · 2 comments · May be fixed by #113
Milestone

Comments

@ewels
Copy link
Member

ewels commented Feb 3, 2025

It would be nice if nf-schema could validate the pipeline nextflow_schema.json against the nf-schema parameters_meta_schema.json. If there are any failures these can be logged to the console as a warning (non-blocking).

This will require the meta-schema to be kept up to date, but that's no bad thing as we're hoping to use it elsewhere as well anyway ('cc @mashehu).

@awgymer
Copy link
Collaborator

awgymer commented Feb 13, 2025

Do we have an analogous meta schema for the samplesheet schema? Or is that currently just assumed to be able to be any valid draft 2020-12 schema?

@nvnieuwk
Copy link
Collaborator

For now all schemas are assumed to be 2020-12 schemas :) But the meta-schema will be used to validate the parameter schema in the future

@nvnieuwk nvnieuwk linked a pull request Mar 19, 2025 that will close this issue
@nvnieuwk nvnieuwk modified the milestones: 2.4.0, 2.5.0 Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants