mailr14563 - /1.3/generic_fns/monte_carlo.py


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

Header


Content

Posted by edward on September 01, 2011 - 12:40:
Author: bugman
Date: Thu Sep  1 12:40:12 2011
New Revision: 14563

URL: http://svn.gna.org/viewcvs/relax?rev=14563&view=rev
Log:
The Monte Carlo simulation state is now turned off after the MC analysis is 
complete.

This allows the user to make slight modifications and rerun the analysis and 
optimisation.  The
monte_carlo.error_analysis user function switches the state at the very end, 
just as
monte_carlo.setup switches the state to on.


Modified:
    1.3/generic_fns/monte_carlo.py

Modified: 1.3/generic_fns/monte_carlo.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/monte_carlo.py?rev=14563&r1=14562&r2=14563&view=diff
==============================================================================
--- 1.3/generic_fns/monte_carlo.py (original)
+++ 1.3/generic_fns/monte_carlo.py Thu Sep  1 12:40:12 2011
@@ -256,6 +256,9 @@
             # Increment the parameter index.
             index = index + 1
 
+    # Turn off the Monte Carlo simulation state, as the MC analysis is now 
finished.
+    cdp.sim_state = False
+
 
 def initial_values():
     """Set the initial simulation parameter values."""




Related Messages


Powered by MHonArc, Updated Thu Sep 01 13:20:02 2011