-
Notifications
You must be signed in to change notification settings - Fork 42
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
Remove empty date-parts in issued #65
Conversation
What we used to do: Note this won't work anymore, since now date-parts is empty rather than being |
4b481ff
to
09e2da2
Compare
09e2da2
to
42abf18
Compare
add additional tests _remove_error: handle required validation errors
5e037c3
to
9ad8fa3
Compare
As of 9ad8fa3,
Note that issued is now an empty object, but does not get entirely removed: |
Thanks agitter for spotting this
4428dad
to
dfda71c
Compare
Merges #65 Fixes empty issued date-parts bug reported in the following issues: - Closes #66 - Closes #75 - Fixes greenelab/meta-review#101 (comment) Recursively remove errors in remove_jsonschema_errors. Combined with a CSL JSON schema that specifies minItems for date-parts, this change fixes the above issues. See citation-style-language/schema#158 for the CSL JSON schema changes that are intended to be present in the CSL schema loaded by this package. Tests removal of empty date-parts for issued object.
Merges #65 Fixes empty issued date-parts bug reported in the following issues: - Closes #66 - Closes #75 - Fixes greenelab/meta-review#101 (comment) Recursively remove errors in remove_jsonschema_errors. Combined with a CSL JSON schema that specifies minItems for date-parts, this change fixes the above issues. See citation-style-language/schema#158 for the CSL JSON schema changes that are intended to be present in the CSL schema loaded by this package. Tests removal of empty date-parts for issued object.
I forgot to change the JSON Schema URL back, so I amended the merged commit in master. The new commit that this has been merged via is 4e6a0f6 |
WIP: before merging, update manubot branch of dhimmel/csl-stylesdone in dhimmel/csl-schema@df3d1a3See greenelab/meta-review#101 (comment)
Refs #66