Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Programming course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
courses
Programming course
Commits
98ad3d13
Commit
98ad3d13
authored
11 years ago
by
J.F.J. Laros
Browse files
Options
Downloads
Patches
Plain Diff
Small bugfix in the sequencer assignment solution.
parent
4be74ef1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sequencer_old.py
+1
-1
1 addition, 1 deletion
sequencer_old.py
with
1 addition
and
1 deletion
sequencer_old.py
+
1
−
1
View file @
98ad3d13
...
...
@@ -46,7 +46,7 @@ class Read(object):
return
sum
(
self
.
qual
)
/
len
(
self
.
read
)
def
trim
(
self
,
score
):
for
position
in
range
(
len
(
self
.
read
)
-
1
,
0
,
-
1
):
for
position
in
range
(
len
(
self
.
read
)
-
1
,
-
1
,
-
1
):
if
self
.
qual
[
position
]
>=
score
:
return
self
.
read
[:
position
]
...
...
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