openmm_unit_to_string openff.units.openmm.openmm_unit_to_string(input_unit: openmm_unit.Unit) → str[source] Convert a openmm.unit.Unit to a string representation. Parameters input_unit (A openmm.unit) – The unit to serialize Returns unit_string (str) – The serialized unit.