mailr3551 - /1.3/generic_fns/spin.py


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

Header


Content

Posted by edward on November 18, 2007 - 20:03:
Author: bugman
Date: Sun Nov 18 20:03:34 2007
New Revision: 3551

URL: http://svn.gna.org/viewcvs/relax?rev=3551&view=rev
Log:
A docstring and comment correction.


Modified:
    1.3/generic_fns/spin.py

Modified: 1.3/generic_fns/spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/spin.py?rev=3551&r1=3550&r2=3551&view=diff
==============================================================================
--- 1.3/generic_fns/spin.py (original)
+++ 1.3/generic_fns/spin.py Sun Nov 18 20:03:34 2007
@@ -200,8 +200,8 @@
 def rename(spin_id, new_name=None):
     """Function for renaming spins.
 
-    @param res_id:      The identifier string for the spin(s) to rename.
-    @type res_id:       str
+    @param spin_id:      The identifier string for the spin(s) to rename.
+    @type spin_id:       str
     @param new_name:    The new spin name.
     @type new_name:     str
     """
@@ -214,7 +214,7 @@
 
     # Spin loop.
     for spin in spin_loop(spin_id):
-        # Rename the residue is there is a match.
+        # Rename the spin if there is a match.
         if spin.num in spins or spin.name in spins:
             spin.name = new_name
 




Related Messages


Powered by MHonArc, Updated Sun Nov 18 20:20:30 2007