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


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to