linkml / prefixmaps

Semantic prefix map registry
https://linkml.io/prefixmaps/
Apache License 2.0
10 stars 3 forks source link

Converter sometimes expands URI incorrectly #72

Open glass-ships opened 2 weeks ago

glass-ships commented 2 weeks ago

(using prefixmaps version 2.4)

I'm not sure if there are other examples of this, or if MGI is unique, but.

If, for example, I want to expand MGI:3696575, it returns the following:

>>> from prefixmaps import load_converter
>>> converter = load_converter("merged")
>>> converter.expand("MGI:3696575")
'https://identifiers.org/MGI/3696575'

(with a slash rather than a colon)

rather than the expected https://identifiers.org/MGI:3696575 (which successfully links to the relevant page)

See also: https://github.com/monarch-initiative/monarch-app/issues/743