Skip to content

Commit

Permalink
Merge pull request #137 from bow/patch_parser-line-ends
Browse files Browse the repository at this point in the history
Patch for different result returned by Reader.fetch() and iteration over Reader
  • Loading branch information
jamescasbon committed Feb 6, 2014
2 parents ab941e0 + a60ef2f commit e6129f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcf/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def _parse_alt(self, str):
def next(self):
'''Return the next record in the file.'''
line = self.reader.next()
row = re.split(self._separator, line)
row = re.split(self._separator, line.rstrip())
chrom = row[0]
if self._prepend_chr:
chrom = 'chr' + chrom
Expand Down

0 comments on commit e6129f5

Please sign in to comment.