monarch-initiative/monarch-app

URI making slash instead of colon

glass-ships opened this issue · 5 comments

Tagging @amc-corey-cox for reference

Turns out I'm not immediately sure how to resolve this.
It looks like we use prefixmaps to expand the URI

### make a singleton class that uses prefixmap and curies to expand curies

from prefixmaps import load_converter

__all__ = [
    "converter",
]

# this is a magic keyword that represents the "merged" context from Chris M's algorithm
# (https://github.com/linkml/prefixmaps/blob/main/src/prefixmaps/data/merged.csv)
converter = load_converter("merged")

I think I'll need to open a ticket with prefixmaps for this one.
@monicacecilia are there other examples of invalid URI expansions that you know of?
or just MGI

@monicacecilia are there other examples of invalid URI expansions that you know of? or just MGI

@glass-ships I've only been looking at models, so I have only come across broken links from MGI.
I don't see a new ticket for prefixmappings -- did you create one?