From 0986394f00920466b3772035906f643ee25d17b4 Mon Sep 17 00:00:00 2001 From: Chris Rosenthal Date: Wed, 18 Sep 2024 21:12:33 -0700 Subject: [PATCH] subprocess.check_output needs to be in string format --- deenurp/wrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deenurp/wrap.py b/deenurp/wrap.py index 56252fd..c0118bd 100644 --- a/deenurp/wrap.py +++ b/deenurp/wrap.py @@ -189,7 +189,7 @@ def rppr_min_adcl_tree(newick_file, leaves, algorithm='pam', always_include=None if always_include: cmd.extend(('--always-include', always_include)) logging.debug(' '.join(cmd)) - output = subprocess.check_output(cmd) + output = subprocess.check_output(cmd, text=True) return output.splitlines()