From 93521ff4cd3eca70681c3dcf8a6e0713128b68a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bertrand=20N=C3=A9ron?= <bneron@pasteur.fr>
Date: Tue, 2 Dec 2014 15:03:02 +0100
Subject: [PATCH] fix the lines to display for restriction enzyme exercises

---
 source/Control_Flow_Statements.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/source/Control_Flow_Statements.rst b/source/Control_Flow_Statements.rst
index 1ec4c1f..9b45de8 100644
--- a/source/Control_Flow_Statements.rst
+++ b/source/Control_Flow_Statements.rst
@@ -98,7 +98,7 @@ Exercise
  
 .. literalinclude:: _static/code/restriction.py
    :linenos:
-   :lines: 1-8
+   :lines: 1-13
    :language: python
    
 * improve the previous function to return all positions of binding sites
@@ -116,7 +116,7 @@ Exercise
 
 .. literalinclude:: _static/code/restriction.py
    :linenos:
-   :lines: 9-16
+   :lines: 13-25
    :language: python
 
 **pseudocode of second algorithm**
@@ -133,7 +133,7 @@ Exercise
 
 .. literalinclude:: _static/code/restriction.py
    :linenos:
-   :lines: 19-25
+   :lines: 25-36
    :language: python
    
    
@@ -170,7 +170,7 @@ in bonus we can try to sort the list in the order of the position of the binding
 
 .. literalinclude:: _static/code/restriction.py
    :linenos:
-   :lines: 27-
+   :lines: 37-
    :language: python
    
 ::
-- 
GitLab