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

:allow to donload enzyme*_namedtuple.py scripts

parent 1f2f3aea
Pipeline #57946 passed with stages
in 13 seconds
......@@ -537,7 +537,7 @@ the latter algorithm display the number of occurrence of each enzyme, But we can
We will see how to do this later.
There is another kind of tuple which allow to access to itmes by index or name.
This data collection is called NamedTuple. The NamedTuple are not accessible directly they are in `collections` package,
......@@ -565,6 +565,7 @@ The code must be adapted as below
:language: python
:download:`enzymes_1_namedtuple.py <_static/code/enzyme_1_namedtuple.py>` .
......@@ -212,11 +212,11 @@ and the 2 dna fragments: ::
:download:`restriction.py <_static/code/restriction.py>` .
If you prefer the enzyme implemeted as namedtuple
:download:`restriction.py <_static/code/restriction_namedtuple.py>` .
:download:`restriction_namedtuple.py <_static/code/restriction_namedtuple.py>` .
Supports Markdown
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