mailr26041 - /branches/frame_order_cleanup/specific_analyses/frame_order/api.py


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

Header


Content

Posted by edward on September 25, 2014 - 13:28:
Author: bugman
Date: Thu Sep 25 13:28:30 2014
New Revision: 26041

URL: http://svn.gna.org/viewcvs/relax?rev=26041&view=rev
Log:
The verbosity flag is now being respected by the frame order specific API 
calculate() method.

This silences the method when executing the dx.map user function.  The chi2 
value printout is
suppressed and the verbosity argument is being sent into the frame order 
count_sobol_points()
function.


Modified:
    branches/frame_order_cleanup/specific_analyses/frame_order/api.py

Modified: branches/frame_order_cleanup/specific_analyses/frame_order/api.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/api.py?rev=26041&r1=26040&r2=26041&view=diff
==============================================================================
--- branches/frame_order_cleanup/specific_analyses/frame_order/api.py   
(original)
+++ branches/frame_order_cleanup/specific_analyses/frame_order/api.py   Thu 
Sep 25 13:28:30 2014
@@ -151,10 +151,11 @@
 
         # Feedback on the number of integration points used.
         if not cdp.quad_int:
-            count_sobol_points(target_fn=target_fn)
+            count_sobol_points(target_fn=target_fn, verbosity=verbosity)
 
         # Printout.
-        print("Chi2:  %s" % chi2)
+        if verbosity:
+            print("Chi2:  %s" % chi2)
 
 
     def constraint_algorithm(self):




Related Messages


Powered by MHonArc, Updated Thu Sep 25 14:00:02 2014