From b79302060ba68732870c123abe15936331518ee2 Mon Sep 17 00:00:00 2001 From: Sean Davis Date: Wed, 5 Dec 2012 12:11:06 -0500 Subject: [PATCH] Fixes #78 --- vcf/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcf/parser.py b/vcf/parser.py index 4d54e74..51e8af1 100644 --- a/vcf/parser.py +++ b/vcf/parser.py @@ -328,7 +328,7 @@ def _parse_info(self, info_str): val = True 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] except KeyError: pass