Commit f7c75383 authored by Laros's avatar Laros
Browse files

Modified the behaviour of the mononucleotide stretches parameter. It now

reflects the maximum allowed stretch (as described in the help).
parent 2308bc1e
......@@ -105,7 +105,7 @@ class BarCode(object):
@arg max_stretch: Maximum mononucleotide stretch length.
@type max_stretch: int
stretches = map(lambda x: max_stretch * x, self.__nucleotides)
stretches = map(lambda x: (max_stretch + 1) * x, self.__nucleotides)
result = []
for i in barcodes:
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