Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python_one_week_4_biologists_solutions
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub-courses
python_one_week_4_biologists_solutions
Commits
960814c9
Commit
960814c9
authored
4 years ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
Typo, brief description of implementations.
parent
9f3fb067
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#58886
passed
4 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/Dive_into_Functions.rst
+3
-3
3 additions, 3 deletions
source/Dive_into_Functions.rst
with
3 additions
and
3 deletions
source/Dive_into_Functions.rst
+
3
−
3
View file @
960814c9
...
...
@@ -497,7 +497,7 @@ Write a program that calculates the similarity of 2 RNA sequences.
so you have to compare the first base of two sequences and use the matrix to get the similarity
from the similarity table, on so on for all bases then sum these similarities.
First implementation
First implementation
(list of columns)
.. literalinclude:: _static/code/matrix.py
:linenos:
...
...
@@ -506,7 +506,7 @@ First implementation
:download:`matrix.py <_static/code/matrix.py>` .
Second implementation
Second implementation
(bad variable naming, no documentation)
.. literalinclude:: _static/code/matrix2.py
:linenos:
...
...
@@ -515,7 +515,7 @@ Second implementation
:download:`matrix2.py <_static/code/matrix2.py>` .
Thir
s
implementation
Thir
d
implementation
(dict {(row, col): value})
.. literalinclude:: _static/code/matrix3.py
:linenos:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment