mailr27711 - /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 February 20, 2015 - 16:56:
Author: bugman
Date: Fri Feb 20 16:56:44 2015
New Revision: 27711

URL: http://svn.gna.org/viewcvs/relax?rev=27711&view=rev
Log:
Another Python 3 list() fix for the structure user functions.

This time the problem was in the 
pipe_control.structure.main.sequence_alignment() function.


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=27711&r1=27710&r2=27711&view=diff
==============================================================================
--- trunk/pipe_control/structure/main.py        (original)
+++ trunk/pipe_control/structure/main.py        Fri Feb 20 16:56:44 2015
@@ -1275,7 +1275,7 @@
     for mol_index in range(num_mols):
         res_num_list.append([])
         for i in range(len(one_letter_codes[mol_index])):
-            key = res_nums[mol_index][i].keys()[0]
+            key = list(res_nums[mol_index][i].keys())[0]
             res_num_list[mol_index].append(res_nums[mol_index][i][key])
 
     # MSA.




Related Messages


Powered by MHonArc, Updated Mon Feb 23 10:20:03 2015