projects
/
pyafm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6586062
)
Oops, remove trailing colon from `max_def = defc.get_maxdata():`.
author
W. Trevor King
<wking@drexel.edu>
Mon, 23 Jan 2012 20:55:22 +0000
(15:55 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Mon, 23 Jan 2012 20:55:22 +0000
(15:55 -0500)
Sloppy copy/paste.
pyafm/afm.py
patch
|
blob
|
history
diff --git
a/pyafm/afm.py
b/pyafm/afm.py
index 0417e6bae26e81a33dfe65d18c91d1c8c5ff0a74..406b15f9eb089b775f542ac34e342eedf7644ce0 100644
(file)
--- a/
pyafm/afm.py
+++ b/
pyafm/afm.py
@@
-152,7
+152,7
@@
class AFM (object):
def _check_target_deflection(self, target_deflection):
defc = self._deflection_channel()
- max_def = defc.get_maxdata()
:
+ max_def = defc.get_maxdata()
if target_deflection > max_def:
_LOG.error(('requested setpoint ({:g} V = {:d} bits) is larger '
'than the maximum deflection value of {:d} bits'