mailr9000 - /1.3/specific_fns/model_free/main.py


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

Header


Content

Posted by edward on March 26, 2009 - 01:04:
Author: bugman
Date: Thu Mar 26 00:21:17 2009
New Revision: 9000

URL: http://svn.gna.org/viewcvs/relax?rev=9000&view=rev
Log:
Fixes for the MC sim methods for deselected spins.


Modified:
    1.3/specific_fns/model_free/main.py

Modified: 1.3/specific_fns/model_free/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/main.py?rev=9000&r1=8999&r2=9000&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Thu Mar 26 00:21:17 2009
@@ -2849,6 +2849,10 @@
             # Get the spin container.
             spin = return_spin_from_index(model_index)
 
+            # Skip if deselected.
+            if not spin.select:
+                return
+
             # Set the simulation flags.
             spin.select_sim = deepcopy(select_sim)
 
@@ -3219,6 +3223,10 @@
             # Get the spin container.
             spin = return_spin_from_index(model_index)
 
+            # Skip if deselected.
+            if not spin.select:
+                return
+
             # Return the list.
             return spin.select_sim
 




Related Messages


Powered by MHonArc, Updated Thu Mar 26 15:20:07 2009