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

General cardinality feature updates #382

Merged
merged 9 commits into from
Apr 15, 2020
Merged

Conversation

mpsonntag
Copy link
Contributor

This PR is a preparation for the introduction of Section-section and Section-property cardinality features to keep PRs at a size that is still convenient to review.

The PR introduces

  • a generalization of the cardinality function for later reuse by different cardinalities
  • catches some edge cases in the core cardinality function
  • filters the validation warnings when checking for cardinality violations to display only warning messages specific to the validated object and not from connected objects as well.
  • adds and updates tests where required

@coveralls
Copy link

coveralls commented Apr 15, 2020

Coverage Status

Coverage increased (+0.02%) to 76.39% when pulling 6aa02e4 on mpsonntag:cardUpdates into 7dde867 on G-Node:master.

Copy link
Member

@jgrewe jgrewe left a comment

Choose a reason for hiding this comment

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

lgtm

odml/util.py Outdated Show resolved Hide resolved
@achilleas-k achilleas-k merged commit eccae1f into G-Node:master Apr 15, 2020
@mpsonntag mpsonntag deleted the cardUpdates branch April 15, 2020 17:16
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.

None yet

4 participants