Skip to content

Commit

Permalink
vcf parsing bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbutleriii committed Feb 21, 2019
1 parent cd0b8ab commit a3ad494
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clinotator/global_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
See main, eventually tests will be added for this module
'''

__version__ = "1.2.1"
__version__ = "1.2.2"


### getncbi.py global variables
Expand Down
2 changes: 1 addition & 1 deletion clinotator/vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def parse_header(file_object, outprefix):
info_list = []
for index, line in enumerate(
next(file_object) for x in range(g.max_vcf_header_size)):
m = re.match('##([\w-]+)=', line)
m = re.match('##([\w\-\.]+)=', line)

if m and m.group(1) == 'INFO':
header.append(line)
Expand Down

0 comments on commit a3ad494

Please sign in to comment.