mailr6132 - /1.3/generic_fns/selection.py


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

Header


Content

Posted by edward on May 07, 2008 - 17:19:
Author: bugman
Date: Wed May  7 17:03:54 2008
New Revision: 6132

URL: http://svn.gna.org/viewcvs/relax?rev=6132&view=rev
Log:
Bug fix in desel_read() - skip missing spins.


Modified:
    1.3/generic_fns/selection.py

Modified: 1.3/generic_fns/selection.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/selection.py?rev=6132&r1=6131&r2=6132&view=diff
==============================================================================
--- 1.3/generic_fns/selection.py (original)
+++ 1.3/generic_fns/selection.py Wed May  7 17:03:54 2008
@@ -123,8 +123,11 @@
 
         # Get the corresponding spin container.
         spin = return_spin(id)
+
+        # No spin.
         if spin == None:
             warn(RelaxNoSpinWarning(id))
+            continue
 
         # Deselect the spin.
         spin.select = 0




Related Messages


Powered by MHonArc, Updated Wed May 07 17:20:12 2008