Skip to content
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

Converter sometimes expands URI incorrectly #72

Open
glass-ships opened this issue Jun 19, 2024 · 0 comments
Open

Converter sometimes expands URI incorrectly #72

glass-ships opened this issue Jun 19, 2024 · 0 comments

Comments

@glass-ships
Copy link
Contributor

(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: monarch-initiative/monarch-app#743

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant