From: W. Trevor King Date: Mon, 23 Jan 2012 20:21:46 +0000 (-0500) Subject: Oops, fix min_slope_position/min_slope_postion -> min_slope_ratio typo. X-Git-Tag: v0.4~46 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fd324dc8861565b4ef5e20543af5f3d13c9dbc01;p=pyafm.git Oops, fix min_slope_position/min_slope_postion -> min_slope_ratio typo. I need to get more sleep ;). --- diff --git a/pyafm/afm.py b/pyafm/afm.py index 92c0679..0c89df9 100644 --- a/pyafm/afm.py +++ b/pyafm/afm.py @@ -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)