Commit 085e8b62 authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros
Browse files

Python3 compatibility fix.

parent 8c5e1dd3
......@@ -12,7 +12,7 @@ def _three_to_one():
:returns dict: Three letter to one letter amino acids table.
"""
return dict(list(map(lambda x: (str(x[0]), str(x[1])),
IUPACData.protein_letters_3to1_extended.items()) + [('Ter', '*')]))
IUPACData.protein_letters_3to1_extended.items())) + [('Ter', '*')])
def subst_to_cds(substitutions, offset):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment