Something has gone wrong with the way in which the semantic_types key in curie_to_bl_type_db (also known as semantic-count) is set: it is supposed to be a unique list of semantic types stored in this NodeNorm instance, but it currently (2023nov5) contains a list of 3,331 Biolink types. Here is a random selection:
Presumably this bug is caused by the loader, and may be caused by each Biolink type being added along with all of its ancestors.
I've fixed this at the endpoint by uniquifying the result (PR #232), but it would be good to figure out what's going wrong with the loader and fix it there.
Something has gone wrong with the way in which the
semantic_types
key in curie_to_bl_type_db (also known as semantic-count) is set: it is supposed to be a unique list of semantic types stored in this NodeNorm instance, but it currently (2023nov5) contains a list of 3,331 Biolink types. Here is a random selection:Presumably this bug is caused by the loader, and may be caused by each Biolink type being added along with all of its ancestors.
I've fixed this at the endpoint by uniquifying the result (PR #232), but it would be good to figure out what's going wrong with the loader and fix it there.