Skip to content

v0.6.1

Compare
Choose a tag to compare
@znicholls znicholls released this 09 Jul 07:09
· 33 commits to main since this release

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')>

Changes