Unverified Commit c1280456 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

fix number of line to display

parent c6c1d48d
...@@ -103,7 +103,7 @@ Exercise ...@@ -103,7 +103,7 @@ Exercise
.. literalinclude:: _static/code/restriction.py .. literalinclude:: _static/code/restriction.py
:linenos: :linenos:
:lines: 1-14 :lines: 1-16
:language: python :language: python
* improve the previous function to return all positions of binding sites * improve the previous function to return all positions of binding sites
...@@ -121,7 +121,7 @@ Exercise ...@@ -121,7 +121,7 @@ Exercise
.. literalinclude:: _static/code/restriction.py .. literalinclude:: _static/code/restriction.py
:linenos: :linenos:
:lines: 18-33 :lines: 17-33
:language: python :language: python
**pseudocode of second algorithm** **pseudocode of second algorithm**
...@@ -138,7 +138,7 @@ Exercise ...@@ -138,7 +138,7 @@ Exercise
.. literalinclude:: _static/code/restriction.py .. literalinclude:: _static/code/restriction.py
:linenos: :linenos:
:lines: 34-55 :lines: 34-56
:language: python :language: python
...@@ -172,7 +172,7 @@ in bonus we can try to sort the list in the order of the position of the binding ...@@ -172,7 +172,7 @@ in bonus we can try to sort the list in the order of the position of the binding
.. literalinclude:: _static/code/restriction.py .. literalinclude:: _static/code/restriction.py
:linenos: :linenos:
:lines: 55- :lines: 57-
:language: python :language: python
:: ::
......
...@@ -34,6 +34,7 @@ def one_enz_all_binding_sites(dna, enzyme): ...@@ -34,6 +34,7 @@ def one_enz_all_binding_sites(dna, enzyme):
def one_enz_all_binding_sites2(dna, enzyme): def one_enz_all_binding_sites2(dna, enzyme):
""" """
:param dna: the dna sequence to search enzyme binding sites :param dna: the dna sequence to search enzyme binding sites
:type dna: str :type dna: str
:param enzyme: the enzyme to looking for :param enzyme: the enzyme to looking for
......
Markdown is supported
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