Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AlignmentFile.count_coverage Python3 str issue #141

Closed
beukueb opened this issue Jul 7, 2015 · 2 comments
Closed

AlignmentFile.count_coverage Python3 str issue #141

beukueb opened this issue Jul 7, 2015 · 2 comments

Comments

@beukueb
Copy link

beukueb commented Jul 7, 2015

count_coverage gives an error when called in Python3:
pysam/calignmentfile.pyx in pysam.calignmentfile.AlignmentFile.count_coverage (pysam/calignmentfile.c:12445)()

TypeError: expected bytes, str found

I assume this is due to the python2 strings being handled as bytes versus python3 str as str s

@DarwinW13
Copy link

I would love to see this addressed. I really love using this module, and so far this seems to be the only thing that doesn't work in Python3.

@AndreasHeger
Copy link
Contributor

Thanks both, it took me a while to locate error.
Best wishes,
Andreas

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

No branches or pull requests

3 participants