Skip to content

Commit

Permalink
attempt import Quantity
Browse files Browse the repository at this point in the history
  • Loading branch information
eagmon committed May 2, 2024
1 parent 2157be8 commit 06b3341
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions vivarium/library/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@

# noinspection PyProtectedMember
from pint import Unit
try:
from pint.quantity import _Quantity as Quantity
except ImportError:
from pint import Quantity
from pint import Quantity

#: Units registry that stores the units used throughout Vivarium
units = pint.UnitRegistry()
Expand Down

0 comments on commit 06b3341

Please sign in to comment.