projects
/
hooke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Adjust Hooke internals to use unsafe YAML (not just builtin Python types).
[hooke.git]
/
hooke
/
util
/
si.py
diff --git
a/hooke/util/si.py
b/hooke/util/si.py
index 14d90104494831ab567d0a893b46d5e783700b6b..f9614bf3795c07d0f493962563dc14aedd4d0d67 100644
(file)
--- a/
hooke/util/si.py
+++ b/
hooke/util/si.py
@@
-182,7
+182,7
@@
def join_data_label(name, unit):
>>> join_data_label('z piezo', 'm')
'z piezo (m)'
>>> join_data_label('deflection', 'N')
- 'deflection
N
'
+ 'deflection
(N)
'
"""
return '%s (%s)' % (name, unit)