Skip to content

Conversation

@jkoestinger
Copy link

I needed to parse VCF files that I could only open in byte mode (it was streamed files), therefore I adapted the code in order to do so. The only modifications are to decode bytes to str when needed, in order to be compliant with the 'str.startswith' methods.

With this version it is now possible to give files opened in 'rb' mode to the Reader.

@jkoestinger jkoestinger changed the title Fix for bytes-based files Reader compatible with files opened in bytes mode Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant