pub fn curie_to_num(
curie: &str,
) -> (Option<ControlledVocabulary>, Option<AccessionIntCode>)Expand description
Split a CURIE-like string ("MS:1000016") into its namespace and accession parts,
without requiring either to be valid.
Unlike CURIE::from_str, this never fails: an unrecognized namespace resolves to
None rather than an error, and a missing or non-numeric accession likewise resolves
to None.