Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Laros
barcode
Commits
f7c75383
Commit
f7c75383
authored
Jun 06, 2013
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
barcode/barcode.py
View file @
f7c75383
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment