is_standardizable_identifier
- is_standardizable_identifier(prefix, identifier)[source]
Check if the identifier is standardizable.
- Parameters:
- Returns:
If the CURIE can be standardized (e.g., prefix normalize and identifier normalized) then validated.
- Return type:
See also
The
is_valid_identifier()
does not perform normalization before checking validityStandard CURIE >>> is_standardizable_identifier(“go”, “0000001”) True
Non-standardized prefix >>> is_standardizable_identifier(“GO”, “0000001”) True
Incorrect identifier >>> is_standardizable_identifier(“go”, “0001”) False
Banana scenario >>> is_standardizable_identifier(“go”, “GO:0000001”) True
Unknown prefix >>> is_standardizable_identifier(“xxx”, “yyy”) False