From eb9dc126a1b86873773e2a2cbf415b1a2502487d Mon Sep 17 00:00:00 2001 From: albertogomcas Date: Fri, 12 Mar 2010 03:08:59 +0000 Subject: [PATCH 1/1] multifit.py : Fixed a wrong named var libhook.py : Deleted deprecated message (irritates me :D) --- libhooke.py | 4 ++-- multifit.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libhooke.py b/libhooke.py index 9bb1ead..d035c71 100755 --- a/libhooke.py +++ b/libhooke.py @@ -332,7 +332,7 @@ class ClickedPoint: ''' #FIXME: a general algorithm using min() is needed! - print '---DEPRECATED FIND_GRAPH_COORDS_OLD---' + #print '---DEPRECATED FIND_GRAPH_COORDS_OLD---' best_index=0 best_dist=10**9 #should be more than enough given the scale @@ -403,4 +403,4 @@ def debug(): print confo.load_config('hooke.conf') if __name__ == '__main__': - debug() \ No newline at end of file + debug() diff --git a/multifit.py b/multifit.py index 3f66641..c617e36 100644 --- a/multifit.py +++ b/multifit.py @@ -300,7 +300,7 @@ class multifitCommands: f.close() print 'Saving...' - savecountr+=1 + savecounter+=1 f=open(self.autofile,'a+') f.write(self.current.path) f.write(' ; '+str(1e9*wlcparams[0])+' ; '+str(wlcfit_nm[0])+' ; '+str(1e9*wlcparams[1])+' ; '+str(wlcfit_nm[1])+' ; '+str(1e9*fjcparams[0])+' ; '+str(fjcfit_nm[0])+' ; '+str(1e9*fjcparams[1])+' ; '+str(fjcfit_nm[1])+' ; '+str(1e12*force)+' ; '+ str(slope)+' ; '+str(lrate)+'\n') -- 2.26.2