This PR adds a high-level wrapper around prefixmaps.load_context()/prefixmaps.load_multi_context() in combination with Context.as_converter() to make a simple high-level function for gettingcuries.Converter`s.
This PR also updates the README examples accordingly.
Note, this is an omni-function, so if it's called with a string like in load_converter("obo"), it defers to the correct single context loading function.
This PR adds a high-level wrapper around
prefixmaps.load_context()
/prefixmaps.load_multi_context()
in combination withContext.as_converter() to make a simple high-level function for getting
curies.Converter`s.Now, the following can can be done:
This PR also updates the README examples accordingly.
Note, this is an omni-function, so if it's called with a string like in
load_converter("obo")
, it defers to the correct single context loading function.