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

extended interface of AssociationContainer by new method #413

Merged
merged 3 commits into from
Aug 8, 2022

Conversation

pnrobinson
Copy link
Member

Adding Set<T> getDomainItemsAnnotatedByOntologyTerm(TermId tid); to interface AssociationContainer because it is needed in Isopret.

@pnrobinson pnrobinson requested a review from ielis August 6, 2022 15:47
Signed-off-by: Daniel Danis <daniel.gordon.danis@protonmail.com>
Copy link
Member

@ielis ielis left a comment

Choose a reason for hiding this comment

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

Hi @pnrobinson I moved the implementation into a utility class to emphasize that the domain elements are counted in exactly the same way in both GoAssociationContainer and TermAssociationContainer. This should work OK until we find the requirements for these containers.

Please merge when it's convenient. Thanks!

@pnrobinson pnrobinson merged commit 7282e3e into develop Aug 8, 2022
@pnrobinson pnrobinson deleted the getDomainItemsAnnotatedByOntologyTerm branch August 8, 2022 13:01
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