jamescasbon/PyVCF — pull request #73 by martijnvermaat (2012-09-23 08:44:22+00:00)
Title: Ignore empty lines

This would probably fix #71. Strictly, I think the spec doesn't allow for empty lines, but hey.

This implementation is just a suggestion, I'm not sure about its performance implication. It would probably also make sense to look for other line.rstrip() calls to do that only once. Might add another commit for that.

It doesn't interfere with tabix fetching, but empty lines within a fetched region are not handled.