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

Convert bytes to string for for stderr output in unified_genotyper.py #552

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

moskalenko
Copy link

A naive fix for

Traceback (most recent call last):

File "toolshed.g2.bx.psu.edu/repos/devteam/unified_genotyper/66dd4d4c1743/unified_genotyper/gatk_wrapper.py", line 126, in

if __name__=="__main__": __main__()

File "toolshed.g2.bx.psu.edu/repos/devteam/unified_genotyper/66dd4d4c1743/unified_genotyper/gatk_wrapper.py", line 115, in main

stderr_target.write( chunk )

TypeError: write() argument must be str, not bytes

@bgruening
Copy link
Member

@moskalenko can you add a test for this case? Is this possible?

Copy link
Contributor

@bernt-matthias bernt-matthias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add python 3 to the requirements?

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.

3 participants