normalize_parsed_curie
- normalize_parsed_curie(prefix: str, identifier: str, *, use_preferred: bool = False, strict: bool = False) ReferenceTuple | tuple[None, None] | None [source]
Normalize a prefix/identifier pair.
- Parameters:
prefix – The prefix in the CURIE
identifier – The identifier in the CURIE
use_preferred – If set to true, uses the “preferred prefix”, if available, instead of the canonicalized Bioregistry prefix.
strict – If true, raises an error if the prefix can’t be standardized
- Returns:
A normalized prefix/identifier pair, conforming to Bioregistry standards. This means no redundant prefixes or bananas, all lowercase.