Author: bugman
Date: Fri Feb 20 16:54:24 2015
New Revision: 27710
URL: http://svn.gna.org/viewcvs/relax?rev=27710&view=rev
Log:
Python 3 fix for the
pipe_control.structure.main.assemble_structural_coordinates() function.
This affects most of the structure user functions. This was another case of
requiring the list()
built in function to create a list object from an iterator.
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=27710&r1=27709&r2=27710&view=diff
==============================================================================
--- trunk/pipe_control/structure/main.py (original)
+++ trunk/pipe_control/structure/main.py Fri Feb 20 16:54:24 2015
@@ -181,7 +181,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])
# Sequence alignment.
_______________________________________________
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