From: W. Trevor King Date: Sun, 15 May 2011 15:32:48 +0000 (-0400) Subject: Fix invalid loop syntax in hooke/plugin/multifit.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f993b7d91734cff39a83d6c6c973510dda3f29df;p=hooke.git Fix invalid loop syntax in hooke/plugin/multifit.py. --- diff --git a/hooke/plugin/multifit.py b/hooke/plugin/multifit.py index e6dd425..e553cbe 100644 --- a/hooke/plugin/multifit.py +++ b/hooke/plugin/multifit.py @@ -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