mailr5723 - /1.3/test_suite/system_tests/model_free.py


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

Header


Content

Posted by edward on April 14, 2008 - 22:52:
Author: bugman
Date: Mon Apr 14 22:52:44 2008
New Revision: 5723

URL: http://svn.gna.org/viewcvs/relax?rev=5723&view=rev
Log:
Modified the mesg_opt_debug() method to print only opt info rather than 
everything in the spin cont.


Modified:
    1.3/test_suite/system_tests/model_free.py

Modified: 1.3/test_suite/system_tests/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/model_free.py?rev=5723&r1=5722&r2=5723&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/model_free.py (original)
+++ 1.3/test_suite/system_tests/model_free.py Mon Apr 14 22:52:44 2008
@@ -90,8 +90,17 @@
         string = string + "Python version: " + PY_VER + "\n"
         string = string + "numpy version: " + numpy.__version__ + "\n"
 
-        # Add the SpinContainer contents.
-        string = string + "\n\n" + `spin`
+
+        # Minimisation info.
+        string = string + "\n\n%-10s%10.16f" % ('s2:', spin.s2)
+        string = string + "\n%-10s%10.13f" % ('te:', spin.te * 1e12)
+        string = string + "\n%-10s%10.17f" % ('rex:', spin.rex * (2.0 * pi * 
spin.frq[0])**2)
+        string = string + "\n%-10s%10.16g" % ('chi2:', spin.chi2)
+        string = string + "\n%-10s%-10i" % ('iter:', spin.iter)
+        string = string + "\n%-10s%-10i" % ('f_count:', spin.f_count)
+        string = string + "\n%-10s%-10i" % ('g_count:', spin.g_count)
+        string = string + "\n%-10s%-10i" % ('h_count:', spin.h_count)
+        string = string + "\n%-10s%-10s" % ('warning:', spin.warning)
 
         # Return the string.
         return string




Related Messages


Powered by MHonArc, Updated Mon Apr 14 23:00:26 2008