-
Notifications
You must be signed in to change notification settings - Fork 29
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 validation for unique IDs within a document #303
Conversation
@jgrewe do you have time to have a look at this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, tiny comment, though
odml/validation.py
Outdated
self.obj = obj | ||
self.msg = msg | ||
self.type = type | ||
self.type = rank |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we use 'rank' in the user facing api, should we also rename type to rank?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed we should!
Good to merge (when the tests finish)? |
To prepare for #258 this PR introduces validation checks for duplicate IDs within a document.
Update:
The github.io documentation now also features the latest version of the data model and a brief description of the commandline convenience scripts.