Skip to content

Commit

Permalink
Merge pull request #80 from seandavi/master
Browse files Browse the repository at this point in the history
Fix issue #78
  • Loading branch information
James Casbon committed Dec 6, 2012
2 parents 69ecc53 + b793020 commit fa91b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcf/parser.py
Expand Up @@ -328,7 +328,7 @@ def _parse_info(self, info_str):
val = True val = True


try: try:
if self.infos[ID].num == 1 and entry_type != 'String': if self.infos[ID].num == 1 and entry_type not in ( 'String', 'Flag'):
val = val[0] val = val[0]
except KeyError: except KeyError:
pass pass
Expand Down

0 comments on commit fa91b6b

Please sign in to comment.