Oops, fix min_slope_position/min_slope_postion -> min_slope_ratio typo.
authorW. Trevor King <wking@drexel.edu>
Mon, 23 Jan 2012 20:21:46 +0000 (15:21 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 23 Jan 2012 20:21:46 +0000 (15:21 -0500)
I need to get more sleep ;).

pyafm/afm.py

index 92c0679071b7dc8add4a7aca27088d0cc634f27b..0c89df9da1e8fae7e2d026800956f3cf4cb96653 100644 (file)
@@ -161,7 +161,7 @@ class AFM (object):
             try:
                 pos = self.piezo.get_surface_position(
                     axis_name=self.axis_name, max_deflection=target_deflection,
-                    min_slope_position=min_slope_postion)
+                    min_slope_ratio=min_slope_ratio)
                 return pos
             except _SurfaceError, e:
                 _LOG.info(e)