mailr7568 - /1.3/specific_fns/relax_fit.py


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

Header


Content

Posted by edward on October 07, 2008 - 23:09:
Author: bugman
Date: Tue Oct  7 23:09:57 2008
New Revision: 7568

URL: http://svn.gna.org/viewcvs/relax?rev=7568&view=rev
Log:
Modified overfit_deselect() to set the spin container select flag to False 
rather than 0.


Modified:
    1.3/specific_fns/relax_fit.py

Modified: 1.3/specific_fns/relax_fit.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/relax_fit.py?rev=7568&r1=7567&r2=7568&view=diff
==============================================================================
--- 1.3/specific_fns/relax_fit.py (original)
+++ 1.3/specific_fns/relax_fit.py Tue Oct  7 23:09:57 2008
@@ -961,12 +961,12 @@
         for spin in spin_loop():
             # Check if data exists.
             if not hasattr(spin, 'intensities'):
-                spin.select = 0
+                spin.select = False
                 continue
 
             # Require 3 or more data points.
             if len(spin.intensities) < 3:
-                spin.select = 0
+                spin.select = False
                 continue
 
 




Related Messages


Powered by MHonArc, Updated Tue Oct 07 23:20:03 2008