Commit 492285e8 authored by Tomas Farago's avatar Tomas Farago
Browse files

[unit system] add"um" alias

parent 181c0ff0
Pipeline #29403 passed with stages
in 3 minutes and 58 seconds
......@@ -105,7 +105,7 @@ class MetricSystem(_Enum):
return MetricSystem.CENTIMETER
elif value.lower() in ('mm', 'millimeter'):
return MetricSystem.MILLIMETER
elif value.lower() in ('micrometer'):
elif value.lower() in ('um', 'micrometer'):
return MetricSystem.MICROMETER
elif value.lower() in ('nm', 'nanometer'):
return MetricSystem.NANOMETER
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment