mailr7992 - /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 November 20, 2008 - 23:23:
Author: bugman
Date: Thu Nov 20 23:23:56 2008
New Revision: 7992

URL: http://svn.gna.org/viewcvs/relax?rev=7992&view=rev
Log:
Fix for bug #12607 (https://gna.org/bugs/?12607).

This bug was reported by Chris Brosey (chris dot a dot brosey att vanderbilt 
dot edu).

The problem was that the fixed flag was being checked for all spins.  However 
deselected spins
should be ignored.


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=7992&r1=7991&r2=7992&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Thu Nov 20 23:23:56 2008
@@ -952,6 +952,10 @@
         # Check if any model-free parameters are allowed to vary.
         mf_all_fixed = True
         for spin in spin_loop():
+            # Skip deselected spins.
+            if not spin.select:
+                continue
+
             # Test the fixed flag.
             if not hasattr(spin, 'fixed'):
                 mf_all_fixed = False




Related Messages


Powered by MHonArc, Updated Thu Nov 20 23:40:02 2008