monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
63 stars 25 forks source link

/graph/edges/from/<id> oddity #268

Closed deepakunni3 closed 5 years ago

deepakunni3 commented 5 years ago

/graph/edges/from/<id> sometimes returns the equivalentClass clique instead of returning its neighbors.

This is because it is fetching the clique leader in this query when in fact the route should first fetch the clique leader and then get the neighbors for the returned clique leader.

Ex: https://api.monarchinitiative.org/api/graph/edges/from/OMIM:105830

deepakunni3 commented 5 years ago

Fixed via https://github.com/biolink/biolink-api/pull/281