mailr6193 - /1.3/specific_fns/jw_mapping.py


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

Header


Content

Posted by edward on May 21, 2008 - 21:42:
Author: bugman
Date: Wed May 21 21:42:25 2008
New Revision: 6193

URL: http://svn.gna.org/viewcvs/relax?rev=6193&view=rev
Log:
Updates to the overfit_deselect() method.


Modified:
    1.3/specific_fns/jw_mapping.py

Modified: 1.3/specific_fns/jw_mapping.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/jw_mapping.py?rev=6193&r1=6192&r2=6193&view=diff
==============================================================================
--- 1.3/specific_fns/jw_mapping.py (original)
+++ 1.3/specific_fns/jw_mapping.py Wed May 21 21:42:25 2008
@@ -247,21 +247,20 @@
 
 
     def overfit_deselect(self):
-        """Function for deselecting spins without sufficient data to support 
calculation"""
-
-        # Test the sequence data exists:
+        """Deselect spins which have insufficient data to support 
calculation."""
+
+        # Test the sequence data exists.
         if not exists_mol_res_spin_data():
             raise RelaxNoSequenceError
 
-        # Loop over spin data:
+        # Loop over spin data.
         for spin in spin_loop():
-
-            # Check for sufficient data
+            # Check if data exists.
             if not hasattr(spin, 'relax_data'):
                 spin.select = 0
                 continue
 
-            # Require 3 or more data points
+            # Require 3 or more data points.
             if len(spin.relax_data) < 3:
                 spin.select = 0
                 continue




Related Messages


Powered by MHonArc, Updated Wed May 21 22:00:18 2008