remap_curie_prefixes

remap_curie_prefixes(converter: Converter, remapping: Mapping[str, str]) Converter[source]

Apply CURIE prefix remappings.

Parameters:
  • converter – A converter

  • remapping – A mapping from CURIE prefixes to new CURIE prefixes. Old CURIE prefixes become synonyms in the records (i.e., they aren’t forgotten).

Returns:

An upgraded converter