-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"µm" is not recognized as a unit symbol #34
Comments
Agreed it’s worth adding a special case in the parser for this. |
Note that there are two (identical glyph in most fonts) symbols for mu:
Could these two just be added as aliases in the SI prefix system? |
unyt/unyt/_unit_lookup_table.py Line 238 in c90398f
|
Yes, definitely, I just haven't gotten around to doing this. I think it should be as simple as adding two new entries to that table. I have no idea if that would blow up on python2.7 though. Feel free to make it a python3-only feature if supporting python2.7 is a pain. |
I opened #59 to address this. |
Description
I was trying to convert meters to microns using the unicode symbol "µ", but the library failed to convert it (see the error below), though it works with
um
.What you expected to happen: conversion is done successfully!
What I Did
The text was updated successfully, but these errors were encountered: