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

do not allow edge attribtues with same type id for trapi #222

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

rjawesome
Copy link
Contributor

biothings/biothings_explorer#891

Previously, if a edge had mutliple TRAPI records, the last TRAPI record would decide the edge-attributes, which meant no duplicates (and no merging behavior).

With the SemmedDB sentences PR (#219), it was required in that situation to merge multiple (suporting publication) edge-attributes from the different records composing an edge.

Here, I have changed the behavior for all attributes (except the ones used in SemmedDB sentences) to a behavior where if multiple TRAPI records have edge attributes with the same attribute_type_id, only the first one will be taken.

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.

2 participants