Skip to content
Snippets Groups Projects
Unverified Commit c1280456 authored by Bertrand  NÉRON's avatar Bertrand NÉRON
Browse files

fix number of line to display

parent c6c1d48d
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ Exercise
.. literalinclude:: _static/code/restriction.py
:linenos:
:lines: 1-14
:lines: 1-16
:language: python
* improve the previous function to return all positions of binding sites
......@@ -121,7 +121,7 @@ Exercise
.. literalinclude:: _static/code/restriction.py
:linenos:
:lines: 18-33
:lines: 17-33
:language: python
**pseudocode of second algorithm**
......@@ -138,7 +138,7 @@ Exercise
.. literalinclude:: _static/code/restriction.py
:linenos:
:lines: 34-55
:lines: 34-56
:language: python
......@@ -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
:linenos:
:lines: 55-
:lines: 57-
:language: python
::
......
......@@ -34,6 +34,7 @@ def one_enz_all_binding_sites(dna, enzyme):
def one_enz_all_binding_sites2(dna, enzyme):
"""
:param dna: the dna sequence to search enzyme binding sites
:type dna: str
:param enzyme: the enzyme to looking for
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment