From fd324dc8861565b4ef5e20543af5f3d13c9dbc01 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 23 Jan 2012 15:21:46 -0500 Subject: [PATCH] Oops, fix min_slope_position/min_slope_postion -> min_slope_ratio typo. I need to get more sleep ;). --- pyafm/afm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2