mailr27424 - /trunk/pipe_control/structure/main.py


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

Header


Content

Posted by edward on January 31, 2015 - 12:44:
Author: bugman
Date: Sat Jan 31 12:44:26 2015
New Revision: 27424

URL: http://svn.gna.org/viewcvs/relax?rev=27424&view=rev
Log:
Fix for the residue number based sequence alignment when assembling 
structural coordinates.

This is in the assemble_structural_coordinates() function of the 
pipe_control.structure.main module.
The sequences of the different molecules can be of different lengths.


Modified:
    trunk/pipe_control/structure/main.py

Modified: trunk/pipe_control/structure/main.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/structure/main.py?rev=27424&r1=27423&r2=27424&view=diff
==============================================================================
--- trunk/pipe_control/structure/main.py        (original)
+++ trunk/pipe_control/structure/main.py        Sat Jan 31 12:44:26 2015
@@ -170,7 +170,7 @@
         res_num_list = []
         for mol_index in range(num_mols):
             res_num_list.append([])
-            for i in range(len(one_letter_codes[0])):
+            for i in range(len(one_letter_codes[mol_index])):
                 key = res_nums[mol_index][i].keys()[0]
                 res_num_list[mol_index].append(res_nums[mol_index][i][key])
 




Related Messages


Powered by MHonArc, Updated Sat Jan 31 13:00:02 2015