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-Url: http://git.tremily.us/?a=commitdiff_plain;h=594e439b073cef8fc3ee76ca5e568803397352b5;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: