Permalink
Browse files

Fix so conversion to Py3 works

  • Loading branch information...
1 parent 9c3822d commit a60ef2f88da920f237a5565016626290facbfe32 @bow bow committed Jan 11, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 vcf/parser.py
View
@@ -523,8 +523,8 @@ def _parse_alt(self, str):
def next(self):
'''Return the next record in the file.'''
- line = self.reader.next().rstrip()
- row = re.split(self._separator, line)
+ line = self.reader.next()
+ row = re.split(self._separator, line.rstrip())
chrom = row[0]
if self._prepend_chr:
chrom = 'chr' + chrom

0 comments on commit a60ef2f

Please sign in to comment.