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])
 


_______________________________________________
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