From: devicerandom Date: Thu, 19 Jun 2008 17:23:20 +0000 (+0000) Subject: (fit.py) Solved stupid regression -now wlc does not crash if you click two times... X-Git-Tag: 0.9.0~90 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff2256632a3f6f900ce49e9ac88aa8a9707c9f84;p=hooke.git (fit.py) Solved stupid regression -now wlc does not crash if you click two times the same point --- diff --git a/fit.py b/fit.py index 8864423..af39ebd 100755 --- a/fit.py +++ b/fit.py @@ -232,7 +232,6 @@ class fitCommands: print 'Click edges of chunk' points=self._measure_N_points(N=2, whatset=1) points=[contact_point]+points - params, yfit, xfit = self.wlc_fit(points, displayed_plot.vectors[1][0], displayed_plot.vectors[1][1],pl_value,T) try: params, yfit, xfit = self.wlc_fit(points, displayed_plot.vectors[1][0], displayed_plot.vectors[1][1],pl_value,T) except: