Oops, remove trailing colon from `max_def = defc.get_maxdata():`.
authorW. Trevor King <wking@drexel.edu>
Mon, 23 Jan 2012 20:55:22 +0000 (15:55 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 23 Jan 2012 20:55:22 +0000 (15:55 -0500)
Sloppy copy/paste.

pyafm/afm.py

index 0417e6bae26e81a33dfe65d18c91d1c8c5ff0a74..406b15f9eb089b775f542ac34e342eedf7644ce0 100644 (file)
@@ -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'