-
Notifications
You must be signed in to change notification settings - Fork 13
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
Semantic validation #51
Comments
See pymzqc for a semantic validator for mzQC files (WIP). |
Checks from our Slack channel:
|
more from slack
|
Here's what the validator auto-doc/API documentation provides (which is all the above afaik): schema validationThe value to the 'schema validation' key is the parsed result to the JSONschema validation of given file, using the current schema (unless stated otherwise). semantic validationThe value to the 'semantic validation' key is an array of checks performed on the deserialised mzQC object according to the latest specification. The checks are the following: 'input files':
'ontology load errors':
'ontology term errors':
'label uniqueness':
API docThis is the response to the API call for |
I guess higher is worse for severity? 9 levels is pretty detailed, maybe we could even do with just 3? Warning, error, critical in analogy to the Python logging levels. |
Would work for me |
Things that have to be validated after the syntactic validation outside of the JSON Schema:
qualityParameter
s correspond to the information in the CV.cvRef
s link to validcv
s in the file.qualityParameter
s are unique within arun
/setQuality
.run
/setQuality
. Intra-document references #50Warnings:
Please add any other checks that I might have missed at the moment.
The text was updated successfully, but these errors were encountered: