extra_utils.extract_compartment()
- VmaxBuilder.utils.extra_utils.extract_compartment(old_id: Any) str[source]
Generated: validation needed.
- Description:
Extract compartment suffix from metabolite identifier.
- Parameters:
old_id (Any) – Identifier to inspect. Non-string values return empty string.
- Returns:
str – Extracted compartment or empty string when absent.