mailr27377 - /trunk/lib/structure/internal/coordinates.py


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

Header


Content

Posted by edward on January 30, 2015 - 09:32:
Author: bugman
Date: Fri Jan 30 09:32:26 2015
New Revision: 27377

URL: http://svn.gna.org/viewcvs/relax?rev=27377&view=rev
Log:
Small fix for the lib.structure.internal.coordinates.assemble_coord_array() 
function.

The termination condition for determining the residues in common between all 
structures was
incorrect.


Modified:
    trunk/lib/structure/internal/coordinates.py

Modified: trunk/lib/structure/internal/coordinates.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/structure/internal/coordinates.py?rev=27377&r1=27376&r2=27377&view=diff
==============================================================================
--- trunk/lib/structure/internal/coordinates.py (original)
+++ trunk/lib/structure/internal/coordinates.py Fri Jan 30 09:32:26 2015
@@ -227,7 +227,7 @@
         for mol_index in range(num_mols):
             if res_indices[0] >= len(atom_names[0]):
                 terminate = True
-            if res_indices[mol_index] >= len(atom_names[0]):
+            if res_indices[mol_index] >= len(atom_names[mol_index]):
                 terminate = True
         if terminate:
             break




Related Messages


Powered by MHonArc, Updated Fri Jan 30 09:40:04 2015