Fix invalid loop syntax in hooke/plugin/multifit.py.
authorW. Trevor King <wking@drexel.edu>
Sun, 15 May 2011 15:32:48 +0000 (11:32 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 15 May 2011 15:32:48 +0000 (11:32 -0400)
hooke/plugin/multifit.py

index e6dd425ca7902de5d8121ffecd90574a827e7559..e553cbe802414ef8c2981b0e78853563d34d54e8 100644 (file)
@@ -122,10 +122,7 @@ Perform the fits on the current curve instead of iterating.
         #remove set leaves some styles disturbing the next graph, fixed by doing do_plot
         self.do_plot(0)
         if contact_point_index>5.0/6.0*sizeret:
-            if params['just one']:
-                break
-            curveindex+=1
-            continue                           
+            return
         
         self.wlccontact_point=contact_point
         self.wlccontact_index=contact_point.index