You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pint-package (used by the convert_unit() method) raises a dimensionality error if the units cannot be converted.
However, if a user applies the method convert_unit("source_unit", "target_unit") and the IamDataFrame does not have any data with "source_unit" the validation is skipped.
It would be safer to check whether a unit-conversion is valid even if no data exists.
The text was updated successfully, but these errors were encountered:
The pint-package (used by the
convert_unit()
method) raises a dimensionality error if the units cannot be converted.However, if a user applies the method
convert_unit("source_unit", "target_unit")
and the IamDataFrame does not have any data with "source_unit" the validation is skipped.It would be safer to check whether a unit-conversion is valid even if no data exists.
The text was updated successfully, but these errors were encountered: