mailr7370 - /1.3/generic_fns/mol_res_spin.py


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

Header


Content

Posted by edward on September 26, 2008 - 21:25:
Author: bugman
Date: Fri Sep 26 21:25:47 2008
New Revision: 7370

URL: http://svn.gna.org/viewcvs/relax?rev=7370&view=rev
Log:
Added the pipe arg to find_index(). 


Modified:
    1.3/generic_fns/mol_res_spin.py

Modified: 1.3/generic_fns/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/mol_res_spin.py?rev=7370&r1=7369&r2=7370&view=diff
==============================================================================
--- 1.3/generic_fns/mol_res_spin.py (original)
+++ 1.3/generic_fns/mol_res_spin.py Fri Sep 26 21:25:47 2008
@@ -1106,11 +1106,13 @@
     return True
 
 
-def find_index(selection=None, global_index=True):
+def find_index(selection=None, pipe=None, global_index=True):
     """Find and return the spin index or indices for the selection string.
 
     @keyword selection:     The spin selection identifier.
     @type selection:        str
+    @keyword pipe:          The data pipe containing the spin.  Defaults to 
the current data pipe.
+    @type pipe:             str
     @keyword global_index:  A flag which if True will cause the global index 
to be returned.  If
                             False, then the molecule, residue, and spin 
indices will be returned.
     @type global_index:     bool




Related Messages


Powered by MHonArc, Updated Fri Sep 26 21:40:01 2008