You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because of this issue (multiple ontology terms with the same ID), I had to implement a way to infer the ontology acronym from the entry id. This is done in the function inferDictAbbrevFromId(id) in DIctionaryBioPoral.js.
So, if more regexes are found that can clearly distinguish the ontology acronym from the id in some cases, then I have to add them to the ontologyRegexes array of the aforementioned function.
If in the future the issue is solved (e.g. BioPortal provides an endpoint that returns a source ontology for a term), then I will have to re-design getEntries() and remove the hack.
John.
The text was updated successfully, but these errors were encountered:
Because of this issue (multiple ontology terms with the same ID), I had to implement a way to infer the ontology acronym from the entry id. This is done in the function
inferDictAbbrevFromId(id)
inDIctionaryBioPoral.js
.So, if more regexes are found that can clearly distinguish the ontology acronym from the id in some cases, then I have to add them to the
ontologyRegexes
array of the aforementioned function.If in the future the issue is solved (e.g. BioPortal provides an endpoint that returns a source ontology for a term), then I will have to re-design
getEntries()
and remove the hack.John.
The text was updated successfully, but these errors were encountered: