Skip to content

Converter sometimes expands URI incorrectly #72

@glass-ships

Description

@glass-ships

(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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions