mailr16912 - /trunk/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 June 14, 2012 - 16:14:
Author: bugman
Date: Thu Jun 14 16:14:08 2012
New Revision: 16912

URL: http://svn.gna.org/viewcvs/relax?rev=16912&view=rev
Log:
Fix for return_residue() for a bug introduced at r16910.


Modified:
    trunk/generic_fns/mol_res_spin.py

Modified: trunk/generic_fns/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/generic_fns/mol_res_spin.py?rev=16912&r1=16911&r2=16912&view=diff
==============================================================================
--- trunk/generic_fns/mol_res_spin.py (original)
+++ trunk/generic_fns/mol_res_spin.py Thu Jun 14 16:14:08 2012
@@ -2340,13 +2340,13 @@
         mol_index = i
 
         # Loop over the residues.
-        for j in range(len(cdp.mol[i].res)):
+        for j in range(len(dp.mol[i].res)):
             # Skip the residue if there is no match to the selection.
-            if cdp.mol[i].res[j] not in select_obj:
+            if dp.mol[i].res[j] not in select_obj:
                 continue
 
             # Store the residue container and index.
-            res_container = cdp.mol[i].res[j]
+            res_container = dp.mol[i].res[j]
             res_index = j
 
             # Increment the residue number counter.




Related Messages


Powered by MHonArc, Updated Thu Jun 14 16:40:02 2012