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