mailr27318 - /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 26, 2015 - 19:38:
Author: bugman
Date: Mon Jan 26 19:38:48 2015
New Revision: 27318

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

The wrong index was being used to skip residues in the second sequence.


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=27318&r1=27317&r2=27318&view=diff
==============================================================================
--- trunk/lib/structure/internal/coordinates.py (original)
+++ trunk/lib/structure/internal/coordinates.py Mon Jan 26 19:38:48 2015
@@ -386,7 +386,7 @@
 
             # Already skipped in the first molecule.
             elif skip[0][seq1_index] and not gap_matrices[mol_index-1][1, j]:
-                skip[mol_index][seq1_index] = 1
+                skip[mol_index][seq2_index] = 1
                 skip_counts[mol_index] += 1
                 sys.stdout.write("-")
 




Related Messages


Powered by MHonArc, Updated Mon Jan 26 19:40:02 2015