From b25bd6d9c1067f96c359b4c93a67f7bc3e579d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bertrand=20N=C3=A9ron?= <bneron@pasteur.fr> Date: Thu, 11 Dec 2014 15:14:35 +0100 Subject: [PATCH] fix rest syntax and fix enzymes_1.py file name --- source/Collection_Data_Types.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Collection_Data_Types.rst b/source/Collection_Data_Types.rst index 1f7b493..fcf2c45 100644 --- a/source/Collection_Data_Types.rst +++ b/source/Collection_Data_Types.rst @@ -425,7 +425,7 @@ pseudocode: | *rev_comp <- empty* | *for each nt of rev_seq* | *concatenate nt complement to rev_comp* -| *return rev_comp +| *return rev_comp* .. literalinclude:: _static/code/rev_comp2.py :linenos: @@ -509,7 +509,7 @@ and the 2 dna fragments: :: apply the same functions to compute the enzymes which cut the dna_2 compute the difference between the enzymes which cut the dna_1 and enzymes which cut the dna_2 -.. literalinclude:: _static/code/enzymes_1.py +.. literalinclude:: _static/code/enzyme_1.py :linenos: :language: python @@ -523,7 +523,7 @@ and the 2 dna fragments: :: enz_2 = enz_filter(enzymes, dna_2) enz1_only = set(enz_1) - set(enz_2) -:download:`enzymes_1.py <_static/code/enzymes_1.py>` . +:download:`enzymes_1.py <_static/code/enzyme_1.py>` . with this algorithm we find if an enzyme cut the dna but we cannot find all cuts in the dna for an enzyme. :: -- GitLab