Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modified to take any iterable.

  • Loading branch information...
commit 6169c38644dcf21f8509f005ad7119c79ed31f99 1 parent 9f1d86a
Damien Leroux authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  parse_gff2.py
2  parse_gff2.py
View
@@ -26,7 +26,7 @@ def parse_gff2(gff_file):
if type(gff_file) is str:
gff_file = open(gff_file)
- for l in gff_file.xreadlines():
+ for l in gff_file: # .xreadlines():
l = l.strip()
if not l.startswith('#'):
X = l.split('\t')
Please sign in to comment.
Something went wrong with that request. Please try again.