mailr26349 - /branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py


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

Header


Content

Posted by edward on October 22, 2014 - 15:22:
Author: bugman
Date: Wed Oct 22 15:22:03 2014
New Revision: 26349

URL: http://svn.gna.org/viewcvs/relax?rev=26349&view=rev
Log:
Added a printout of the frame order model in the target function setup 
function.

This is printed out when the minimise.calculate, minimise.grid_search, or 
minimise.execute user
function are called, and is for better feedback, especially in the 
auto-analysis where the
repetitive optimisations can be confusing.


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

Modified: 
branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py?rev=26349&r1=26348&r2=26349&view=diff
==============================================================================
--- 
branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py  
(original)
+++ 
branches/frame_order_cleanup/specific_analyses/frame_order/optimisation.py  
Wed Oct 22 15:22:03 2014
@@ -767,6 +767,10 @@
     @keyword unset_fail:        A flag which if True will cause a RelaxError 
to be raised if the parameter is not set yet.
     @type unset_fail:           bool
     """
+
+    # Model printout.
+    if verbosity:
+        print("Frame order model:  %s" % cdp.model)
 
     # Assemble the parameter vector.
     param_vector = assemble_param_vector(sim_index=sim_index, 
unset_fail=unset_fail)




Related Messages


Powered by MHonArc, Updated Wed Oct 22 15:40:02 2014