Comments (2)
Hi @hrshdhgd , this was definitely a bug in the type annotation. I have fixed it in v2.5.4
.
from pronto.
For now the following solution worked:
synonym_to_remove = [syn for syn in t._data().synonyms if syn.description == patch.old_value][0]
t._data().synonyms.discard(synonym_to_remove)
If there's another way of doing this, please let me know. Thanks!
from pronto.
Related Issues (20)
- The "replaced by" terms are not extracted in certain situations HOT 3
- How to hide logging HOT 3
- Getting Relationships HOT 3
- BaseIdent TypeError when saving obo files with property chains HOT 1
- Latest hp.owl fails due to SynonymTypeProperty w/o label with AttributeError: 'NoneType' object has no attribute 'text' HOT 1
- Accessing children of a relationship HOT 3
- AttributeError: module 'fastobo.typedef' has no attribute 'IsClassLevel' when saving obo file HOT 1
- Consider adding kgcl bindings
- Cannot install latest version in new virtual environment HOT 3
- How to extract all the terms from all the properties and the instances in a ontology?
- How we can parse individulas (instances) and datatype properties using pronto? HOT 1
- Add supports for catalogs in imports HOT 1
- invalid datatype: 'http://www.w3.org/2000/01/rdf-schema#Literal' when parsing foodon HOT 2
- Finding parent terms from IDs in OWL objects HOT 2
- Obtain ontology subgraph
- NotImplementedWarning: cannot process plain `owl:AnnotationProperty` cls(self).parse_from(_handle) # type: ignore HOT 1
- cell ontology cl.obo error HOT 1
- ValueError: could not find a parser to parse 'http://purl.obolibrary.org/obo/doid/obo/ext.owl' when parsing human disease ontology HOT 2
- Update requirements for NetworkX HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pronto.