-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add YAML schema for diagnostic_provenance.yml and improve error messages/checks #124
Comments
Other error messages and checks should be also be improved, e.g. when you provide a caption that is a list instead of a string, you will get this rather cryptic error message:
|
The plan for the next release will be to implement the schema and only allow a single correct type for each entry. |
Note that currently there is a warning if no ancestor files are provided, however, this is probably a valid use case if the file is generated from code alone: ESMValGroup/ESMValTool#1722 (comment), so this should be supported. It would also be nice to add provenance for ancestor files from |
At the moment diagnostic developers either get no error message at all, or various obscure error messages if they make a mistake in their diagnostic_provenance.yml file. It would be nicer if we could get a more clear error message by using a Yamale schema to check it.
The text was updated successfully, but these errors were encountered: