projects
/
pyafm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
614feec
)
Fix log string formatting in AFM.move_toward_surface().
author
W. Trevor King
<wking@drexel.edu>
Fri, 16 Mar 2012 03:49:32 +0000
(23:49 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 16 Mar 2012 03:49:32 +0000
(23:49 -0400)
pyafm/afm.py
patch
|
blob
|
history
diff --git
a/pyafm/afm.py
b/pyafm/afm.py
index e6d7fb5fe1471c774a8576bd5c8ddce81e3b117a..dd6d2396a2e2bc95a110949e39a4c8e651654f70 100644
(file)
--- a/
pyafm/afm.py
+++ b/
pyafm/afm.py
@@
-464,7
+464,7
@@
class AFM (object):
"""Step in approximately `distance` meters.
"""
steps = int(distance/self.stepper.step_size)
- _LOG.info('step in {} steps (~{} m)'
%
(steps, distance))
+ _LOG.info('step in {} steps (~{} m)'
.format
(steps, distance))
self.stepper.step_relative(steps)
def move_away_from_surface(self, distance=None):