Skip to content

Commit afcc0e9

Browse files
committed
Update substance.py
Add units of millimole and micromole.
1 parent bc3feb4 commit afcc0e9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

quantities/units/substance.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,14 @@
88
'mole',
99
symbol='mol'
1010
)
11+
mmol = UnitSubstance(
12+
'millimole',
13+
mol/1000,
14+
symbol='mmol'
15+
)
16+
umol = UnitSubstance(
17+
'micromole',
18+
mmol/1000,
19+
symbol='umol',
20+
u_symbol='µmol'
21+
)

0 commit comments

Comments
 (0)