mailr2879 - /1.3/sample_scripts/full_analysis.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward . dauvergne on November 23, 2006 - 07:13:
Author: bugman
Date: Thu Nov 23 07:13:06 2006
New Revision: 2879

URL: http://svn.gna.org/viewcvs/relax?rev=2879&view=rev
Log:
Fixed a bug in the convergence tests where a float was being printed as a 
string.


Modified:
    1.3/sample_scripts/full_analysis.py

Modified: 1.3/sample_scripts/full_analysis.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/sample_scripts/full_analysis.py?rev=2879&r1=2878&r2=2879&view=diff
==============================================================================
--- 1.3/sample_scripts/full_analysis.py (original)
+++ 1.3/sample_scripts/full_analysis.py Thu Nov 23 07:13:06 2006
@@ -323,8 +323,8 @@
         ###################
 
         print "# Chi-squared test.\n"
-        print "chi2 (k-1): %s" + self.relax.data.chi2['previous']
-        print "chi2 (k):   %s" + self.relax.data.chi2[run]
+        print "chi2 (k-1): " + `self.relax.data.chi2['previous']`
+        print "chi2 (k):   " + `self.relax.data.chi2[run]`
         if self.relax.data.chi2['previous'] == self.relax.data.chi2[run]:
             print "The chi-squared value has converged.\n"
         else:




Related Messages


Powered by MHonArc, Updated Thu Nov 23 07:40:09 2006