Skip to content

Commit 2a7c35d

Browse files
author
Tom Close
committed
added micromho abbreviation
1 parent 327b5b9 commit 2a7c35d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

quantities/quantity.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def simplified(self):
153153
@property
154154
def units(self):
155155
return Quantity(1.0, (self.dimensionality))
156+
156157
@units.setter
157158
def units(self, units):
158159
try:

quantities/units/electromagnetism.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@
161161
'microsiemens',
162162
mS/1000,
163163
symbol='uS',
164-
u_symbol='μS'
164+
u_symbol='μS',
165+
aliases=['micromho']
165166
)
166167
nS = siemens = UnitQuantity(
167168
'nanosiemens',

0 commit comments

Comments
 (0)