projects
/
pypiezo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27596c1
)
Positions are allowed to be floats, so don't format log so strictly.
author
W. Trevor King
<wking@drexel.edu>
Fri, 16 Mar 2012 04:38:40 +0000
(
00:38
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 16 Mar 2012 04:38:40 +0000
(
00:38
-0400)
pypiezo/afm.py
patch
|
blob
|
history
diff --git
a/pypiezo/afm.py
b/pypiezo/afm.py
index 488caffff47fa40272753fb105e3cd4b30dfa5df..02c2063d0ff50227d944d2c595824ce3191600d9 100644
(file)
--- a/
pypiezo/afm.py
+++ b/
pypiezo/afm.py
@@
-231,8
+231,8
@@
class AFMPiezo (_base.Piezo):
self.jump(axis_name, jump_to)
current_deflection = self.read_deflection()
log_string = (
- ('current z piezo position {
:6d} (target {:6d
}), '
- 'current deflection {
:6d} (target {:6d
})').format(
+ ('current z piezo position {
} (target {
}), '
+ 'current deflection {
} (target {
})').format(
self.last_output[axis_name], position,
current_deflection, deflection))
_LOG.debug(log_string)