From 1493d856f90b3c20c5d2fd8887d31187f4753f70 Mon Sep 17 00:00:00 2001 From: Marco Biasini <marco.biasini@unibas.ch> Date: Tue, 5 Apr 2011 14:33:04 +0200 Subject: [PATCH] typos in code examples are particularly bad --- modules/conop/doc/compoundlib.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/conop/doc/compoundlib.rst b/modules/conop/doc/compoundlib.rst index 0380f14ad..48ee192df 100644 --- a/modules/conop/doc/compoundlib.rst +++ b/modules/conop/doc/compoundlib.rst @@ -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' -- GitLab