mailr6134 - /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:11:30 2008
New Revision: 6134

URL: http://svn.gna.org/viewcvs/relax?rev=6134&view=rev
Log:
Updates to the reverse() function.


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=6134&r1=6133&r2=6134&view=diff
==============================================================================
--- 1.3/generic_fns/selection.py (original)
+++ 1.3/generic_fns/selection.py Wed May  7 17:11:30 2008
@@ -161,11 +161,15 @@
         spin.select = 0
 
 
-def reverse(selection=None):
-    """Function for the reversal of the spin system selection."""
+def reverse(spin_id=None):
+    """Reversal of spin selections.
+
+    @keyword spin_id:       The spin identification string.
+    @type spin_id:          str or None
+    """
 
     # Loop over the spin systems and reverse the selection flag.
-    for spin in spin_loop(selection):
+    for spin in spin_loop(spin_id):
         # Reverse the selection.
         if spin.select:
             spin.select = 0




Related Messages


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