From 9e7e1a4772db5417ebd2cf518848ce1609de8a6a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 8 Aug 2010 16:09:40 -0400 Subject: [PATCH] Use .run vs. old ._run in vclamp.scale() to normalize params --- hooke/plugin/vclamp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hooke/plugin/vclamp.py b/hooke/plugin/vclamp.py index 40c1ecb..90acc97 100644 --- a/hooke/plugin/vclamp.py +++ b/hooke/plugin/vclamp.py @@ -65,14 +65,14 @@ def scale(hooke, curve, block=None): if ('surface distance (m)' not in b.info['columns'] or 'surface adjusted deflection (m)' not in b.info['columns']): try: - contact._run(hooke, inqueue, outqueue, params) + contact.run(hooke, inqueue, outqueue, **params) except PoorFit, e: raise PoorFit('Could not fit %s %s: %s' % (curve.path, block, str(e))) if ('deflection (N)' not in b.info['columns']): - force._run(hooke, inqueue, outqueue, params) + force.run(hooke, inqueue, outqueue, **params) if ('cantilever adjusted extension (m)' not in b.info['columns']): - cant_adjust._run(hooke, inqueue, outqueue, params) + cant_adjust.run(hooke, inqueue, outqueue, **params) return curve class SurfacePositionModel (ModelFitter): -- 2.26.2