Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Development

Successfully merging this pull request may close these issues.

[Validation] Check for readable odml object name content [Property] Exception on x-tuple Property extend or append

3 participants