Function biodivine_lib_param_bn::sbml::import::create_normalized_names
source · [−]fn create_normalized_names(
species: &[SbmlSpecie],
warnings: &mut Vec<String>
) -> Result<HashMap<String, String>, String>
Expand description
(internal) Assigns every specie a biodivine-friendly name. Returns a mapping between SBML IDs and valid specie names.
If the name contains an invalid character, it is replaced with _
.
If there are duplicate names, they are prefixed with their IDs.