extra_utils.remove_compartment()
- VmaxBuilder.utils.extra_utils.remove_compartment(old_id: Any) Any[source]
Generated: validation needed.
- Description:
Remove compartment suffix from metabolite identifier.
- Parameters:
old_id (Any) – Identifier to normalise. Non-string values are returned unchanged.
- Returns:
Any – Identifier without compartment suffix when pattern matches.