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

Add the predicate_type slot to Mapping and MappingSet classes. #405

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

gouttegd
Copy link
Contributor

@gouttegd gouttegd commented Dec 20, 2024

Resolves [#404]

  • docs/ have been added/updated if necessary
  • make test has been run locally
  • tests have been added/updated (if applicable)
  • CHANGELOG.md has been updated.

If you are proposing a change to the SSSOM metadata model, you must

  • provide a full, working and valid example in examples/
  • provide a link to the related GitHub issue in the see_also field of the linkml model
  • provide a link to a valid example in the see_also field of the linkml model
  • run SSSOM-Py test suite against the updated model

The predicate_type slot has been defined but never used in any classes. Presumably this is an oversight, so we add it here to the Mapping and MappingSet classes. We make it a “propagatable” slot, for consistency with the subject_type and object_type slots.

The `predicate_type` slot has been _defined_ but never _used_ in any
classes. Presumably this is an oversight, so we add it here to the
Mapping and MappingSet classes. We make it a “propagapable” slot, for
consistency with the `subject_type` and `object_type` slots.

closes #404
@gouttegd gouttegd self-assigned this Dec 20, 2024
@gouttegd gouttegd requested a review from matentzn December 20, 2024 12:55
Copy link
Collaborator

@matentzn matentzn left a comment

Choose a reason for hiding this comment

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

Awesome, thanks a ton! This was an accidental oversight!

@matentzn matentzn requested a review from jamesamcl December 20, 2024 16:59
@matentzn matentzn merged commit 551d641 into master Dec 20, 2024
3 checks passed
@matentzn matentzn deleted the allow-predicate_type branch December 20, 2024 17:04
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.

3 participants