biolink / ontobio

python library for working with ontologies and ontology associations
https://ontobio.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
118 stars 30 forks source link

Return empty list for with/from if no term #603

Closed dustine32 closed 2 years ago

dustine32 commented 2 years ago

My fix for the "obsolete GO term having no replaced_by" issue #602.

I need to add a simple test for this to the PR. Thinking we can just piggy-back on: https://github.com/biolink/ontobio/blob/7ba4e23e55beecf420eb03bdd55e1f0819f5c847/tests/test_gpad_parser.py#L13

kltm commented 2 years ago

Tests added and passing. Merging.