Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub-courses
python_one_week_4_biologists_solutions
Commits
021957af
Unverified
Commit
021957af
authored
Jun 15, 2021
by
Bertrand NÉRON
Browse files
remove print debug
parent
911e2ccf
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/_static/code/fasta_iterator.py
View file @
021957af
...
...
@@ -17,7 +17,6 @@ def fasta_iter(fasta_file):
# we know they alternate.
group
=
(
x
[
1
]
for
x
in
groupby
(
fasta_file
,
lambda
line
:
line
.
startswith
(
">"
)))
for
header
in
group
:
print
header
# drop the ">"
header
=
header
.
next
()[
1
:].
strip
()
header
=
header
.
split
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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