(fit.py) Solved stupid regression -now wlc does not crash if you click two times...
authordevicerandom <devnull@localhost>
Thu, 19 Jun 2008 17:23:20 +0000 (17:23 +0000)
committerdevicerandom <devnull@localhost>
Thu, 19 Jun 2008 17:23:20 +0000 (17:23 +0000)
fit.py

diff --git a/fit.py b/fit.py
index 886442323bee0b8258a2f837ddf7640b37eedc5f..af39ebd87b0d6047da539ba2054dd62ef1d92a8b 100755 (executable)
--- 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: