v0.6.1
Announcements
-
Fixed accidental aliasing of "yr" to "a" π
We had accidentally assigned "yr" to be an alias for "a".
This meant we had the following behaviour>>> from openscm_units import unit_registry >>> val = unit_registry.Quantity(1, "yr") >>> val <Quantity(1, 'a')>
This is now fixed so that if you pass in "yr", it stays as yr i.e. you get
>>> from openscm_units import unit_registry >>> val = unit_registry.Quantity(1, "yr") >>> val <Quantity(1, 'yr')>