From f993b7d91734cff39a83d6c6c973510dda3f29df Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 15 May 2011 11:32:48 -0400 Subject: [PATCH] Fix invalid loop syntax in hooke/plugin/multifit.py. --- hooke/plugin/multifit.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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 -- 2.26.2