From 05865cf434225ea036af24a65b8234074892e553 Mon Sep 17 00:00:00 2001 From: Oleksandr Moskalenko Date: Wed, 4 Mar 2020 14:05:27 -0500 Subject: [PATCH] Convert bytes to string for for stderr output in unified_genotyper.py --- tool_collections/gatk/unified_genotyper/gatk_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool_collections/gatk/unified_genotyper/gatk_wrapper.py b/tool_collections/gatk/unified_genotyper/gatk_wrapper.py index 17e83798..1b067654 100644 --- a/tool_collections/gatk/unified_genotyper/gatk_wrapper.py +++ b/tool_collections/gatk/unified_genotyper/gatk_wrapper.py @@ -112,7 +112,7 @@ def __main__(): while True: chunk = stderr.read( CHUNK_SIZE ) if chunk: - stderr_target.write( chunk ) + stderr_target.write( chunk.decode('utf-8') ) else: break stderr.close()