-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for latest changes of the SSSOM schema (#552)
This PR updates SSSOM-Py to prepare it for changes that either have already occurred or that will occur in the SSSOM schema: * the `semantic_similarity_{score|measure}` slots have been renamed to `similarity_{score|measure}`; * the `subject_id` and `object_id` slots will no longer be _unconditionally_ required, but instead will be required or not depending on the value of `subject_type` and `object_type` (something the generated Python class is unfortunately unable to enforce on its own, despite the proper `rules` expressed in the schema).
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters