vivarium-collective / vivarium-core

Core Interface and Engine for Vivarium
https://vivarium-core.readthedocs.io/
Apache License 2.0
25 stars 2 forks source link

update pint imports for 0.20.1 #223

Closed eagmon closed 2 years ago

eagmon commented 2 years ago

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.