-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add input as as ancestor of itself #41
Comments
I think this is a duplicate - but let me know if that is wrong. |
oops, thanks for pointing that out |
Ah, my reading comprehension needs some work - yes I agree that this is inconsistent. Do you have a preference on which direction we should standardize. I don't particularly. |
I'd prefer that the input item is returned as an ancestor/descendant of itself, but I'm fine with either way (easy enough to add the input item to the returned items). |
I'm pretty sure that there's an option on the BMT calls for ancestor / descendant. Not sure if it shares this inconsistancy or not, but it's easy to fix up at the service level. |
I noticed that the Biolink Lookup Service seems to return only proper ancestors (i.e., excluding the input item), but all descendants (i.e., including the input item).
for example, this ancestor query for MolecularMixture:
does not return MolecularMixture:
but this descendant query for MolecularMixture:
does return MolecularMixture:
is this deliberate? the inconsistency seems a bit odd to me.
The text was updated successfully, but these errors were encountered: