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

NotImplementedWarning: cannot process plain owl:AnnotationProperty cls(self).parse_from(_handle) # type: ignore #198

Open
CarMoreno opened this issue Jan 5, 2023 · 1 comment

Comments

@CarMoreno
Copy link

CarMoreno commented Jan 5, 2023

Firstly, thank you very much for this amazing library to manage ontologies!. I have been testing it for a couple of weeks, using the ChEBI ontology in two representations: OBO and OWL and all looks going well. However, I have a doubt regarding a warning that I got using OWL representation.

When the library loads the ontology, I get

NotImplementedWarning: cannot process plain `owl:AnnotationProperty` cls(self).parse_from(_handle) # type: ignore

So, I would like to understand why the warning appears only for OWL. I am not an expert in ontologies and I want to be sure that the library is not skipping details or important information.

Thank you.

@CarMoreno CarMoreno changed the title NotImplementedWarning: cannot process plain owl:AnnotationProperty cls(self).parse_from(_handle) # type: ignore ``NotImplementedWarning: cannot process plain owl:AnnotationProperty cls(self).parse_from(_handle) # type: ignore`` Jan 5, 2023
@CarMoreno CarMoreno changed the title ``NotImplementedWarning: cannot process plain owl:AnnotationProperty cls(self).parse_from(_handle) # type: ignore`` NotImplementedWarning: cannot process plain owl:AnnotationProperty cls(self).parse_from(_handle) # type: ignore Jan 5, 2023
@amstilp
Copy link

amstilp commented Jun 1, 2023

I'm getting the same warning when reading the DUO ontology file: https://github.com/EBISPOT/DUO/blob/master/duo-basic.owl

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