Skip to main content

parse_fma_isa

Function parse_fma_isa 

Source
pub fn parse_fma_isa(csv: &str) -> HashMap<String, String>
Expand description

Parse the FMA is-a CSV (FMAID,"Preferred Label",Parent FMAID) into a child→parent map, keyed in the FMA<id> form (matching the STL filenames). The label may contain commas (it is quoted), so the id and parent are taken as the first and last comma-separated fields — robust to embedded commas.