Skip to content

`_vcf_metadata_parser.read_meta_hash()` does not strip quotation marks from hash metadata #101

laserson opened this Issue Mar 12, 2013 · 1 comment

2 participants


Changing line 161 in to

OrderedDict(map(lambda x: [x[0], x[1].strip('"')], (item.split("=") for item in hashItems)))

would fix the issue.


This is another example of something that could be fixed in a more general way using a proper parser, see #90 (although James' example code there does not implement this specific issue, it's trivial to add).

We should also keep in mind that the writer should still include the quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.