From: albertogomcas Date: Fri, 12 Mar 2010 03:08:59 +0000 (+0000) Subject: multifit.py : Fixed a wrong named var X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0669f26a11fa2091ed1304aaaed93ab8d518b6b1;p=hooke.git multifit.py : Fixed a wrong named var libhook.py : Deleted deprecated message (irritates me :D) --- 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')