-
Notifications
You must be signed in to change notification settings - Fork 2
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
ENSEMBL:ENSDARG00000111928 does not have a label (even though it should) #101
Comments
This is caused by us not having a preferred label for ENSEMBL:ENSDARG00000111928. I'm not sure if the right behavior should be to not have any identifiers in NameRes that don't have a preferred label (i.e. that this request should return something like "no such identifier") or if NameRes should have identifiers without preferred labels (i.e. this request should return something like Here's the error:
|
I prefer either returning an empty names array, or assigning a goofy preferred label (like just repeating the ID). In this particular instance, it kind of feels like we should have a name? |
This is now no longer relevant, since now return an object rather than a list of entries. For example, looking up https://name-resolution-sri.renci.org/reverse_lookup?curies=ENSEMBL%3AENSDARG00000111928&curies=UBERON%3A8420000 will return: {
"ENSEMBL:ENSDARG00000111928": {},
"UBERON:8420000": {
"curie": "UBERON:8420000",
"names": [
"hair",
"hair of scalp"
],
"types": [
"GrossAnatomicalStructure",
"AnatomicalEntity",
"PhysicalEssence",
"OrganismalEntity",
"SubjectOfInvestigation",
"BiologicalEntity",
"ThingWithTaxon",
"NamedThing",
"Entity",
"PhysicalEssenceOrOccurrent"
],
"preferred_name": "hair of scalp",
"shortest_name_length": 4,
"curie_suffix": 8420000,
"id": "6516107d-e743-4e47-9207-065acfa0bb83",
"_version_": 1781948985311756300
}
} So it is now pretty clear that we don't know about I'll leave this issue open until we figure out why
|
Reported by @Woozl
e.g.
The text was updated successfully, but these errors were encountered: