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

Include all annotations in .get_annotations() #50

Closed
francescalb opened this issue Sep 22, 2020 · 2 comments
Closed

Include all annotations in .get_annotations() #50

francescalb opened this issue Sep 22, 2020 · 2 comments
Assignees

Comments

@francescalb
Copy link
Collaborator

Currently, only 'comment's are returned in get_annotations.
It would be nice to get other annotations such as 'elucidation' etc

@francescalb francescalb self-assigned this Sep 22, 2020
@jesper-friis
Copy link
Collaborator

I think it works. For me the following returns both 'elucidation' and 'comment':

from emmo import get_ontology
emmo = get_ontology()
emmo.load()
emmo.Holistic.get_annotations()

@francescalb
Copy link
Collaborator Author

I agree

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

No branches or pull requests

2 participants