Skip to content

Commit

Permalink
in case we ARE storing the list correctly, leave them be
Browse files Browse the repository at this point in the history
c.f. issue #406 #406
  • Loading branch information
ihodes committed Dec 17, 2014
1 parent 22ef0e0 commit e4112f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/relational_vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ def vcf_format(val):
vals = val.split(',')
if len(vals) <= 1:
return val
elif val[0] != '[':
return ','.join(v.strip() for v in vals)
else: # It's a list.
assert val[0] == '['
assert val[-1] == ']'
Expand Down

0 comments on commit e4112f8

Please sign in to comment.