pint version 0.20.1 changed the location of Quantity and Unit, which led to import errors for some vivarium users. This PR adds try/except statements where these are imported to make the imports come from the correct modules.
By creating this pull request, I agree to the Contributor License
Agreement, which is available in CLA.md at the top level of this
repository.
pint version 0.20.1 changed the location of
Quantity
andUnit
, which led to import errors for some vivarium users. This PR adds try/except statements where these are imported to make the imports come from the correct modules.By creating this pull request, I agree to the Contributor License Agreement, which is available in
CLA.md
at the top level of this repository.