Skip to content

Commit fd738db

Browse files
committed
Fix broken support for pq.Quanitty('mbar')
Fix support for the unit mbar that was introduced in python-quantities#72. The problem with mbar is that pq.Quanitty('mbar') raises a LookupError without this fix.
1 parent 74e5ea5 commit fd738db

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

quantities/units/pressure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
'millibar',
5757
0.001*bar,
5858
symbol='mb',
59+
aliases=['mbar']
5960
)
6061
kbar = kilobar = UnitQuantity(
6162
'kilobar',

0 commit comments

Comments
 (0)