Skip to content
Snippets Groups Projects
Commit 98ad3d13 authored by J.F.J. Laros's avatar J.F.J. Laros
Browse files

Small bugfix in the sequencer assignment solution.

parent 4be74ef1
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment