Skip to content
Snippets Groups Projects
Commit 1493d856 authored by Marco Biasini's avatar Marco Biasini
Browse files

typos in code examples are particularly bad

parent 334edf77
Loading
......@@ -161,7 +161,7 @@ In this example we will translate the three-letter-codes given in the SEQRES rec
seqres='ALA GLY MSE VAL PHE'
sequence=''
for tlc in seqres.split():
compound=compound_lib.FindCompound(compound_lib)
compound=compound_lib.FindCompound(tlc)
if compound:
sequence+=compound.one_letter_code
print sequence # prints 'AGMVF'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment