Skip to content
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

Validation Name and Property Tuple Extend #372

Merged
merged 16 commits into from
Mar 29, 2020

Conversation

fschrader1992
Copy link
Collaborator

This PR

@coveralls
Copy link

Coverage Status

Coverage increased (+0.07%) to 75.694% when pulling 1d8e055 on fschrader1992:validation into 7e9299e on G-Node:master.

@fschrader1992
Copy link
Collaborator Author

Checks for Code Quality:

  • Pylint
  • Rebase onto GNODE Master
  • Repeat Local Tests Python3.8
  • Repeat Local Tests Python2.7

Copy link
Contributor

@mpsonntag mpsonntag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice PR, thanks a lot!

Good catch with the append usage in the Property.extend tests!

:param obj: odml.Section or odml.Property.
"""
if obj.name == obj.id:
yield ValidationError(obj, 'Name should be readable', LABEL_WARNING)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the message to "Name should be human readable" to make it clearer whats expected of the user; but we can change this at a later point in time.

@mpsonntag mpsonntag merged commit d9d5223 into G-Node:master Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants