Closed bramp closed 2 months ago
For example Melting point: 75% -17.5 °C; 80% 4.6 °C; 85% 21 °C. will now return
Melting point: 75% -17.5 °C; 80% 4.6 °C; 85% 21 °C.
[Quantity('75%'), Quantity('-17.5 degC')], [Quantity("80%"), Quantity('4.6 degC')], [Quantity("85%"), Quantity('21 degC')],
Where previously it returned just Quantity("4.6 degC").
Quantity("4.6 degC")
All other examples continue to work the way they did before. But strings such as 10% will also work now.
10%
Fixes https://github.com/dylanwal/unit_parse/issues/10
Oh this change is based on https://github.com/dylanwal/unit_parse/pull/11 (support Python 3.12), but can be rebased to be independent.
For example
Melting point: 75% -17.5 °C; 80% 4.6 °C; 85% 21 °C.
will now returnWhere previously it returned just
Quantity("4.6 degC")
.All other examples continue to work the way they did before. But strings such as
10%
will also work now.Fixes https://github.com/dylanwal/unit_parse/issues/10