Mercurial > repos > greg > gene_family_phylogeny_builder
changeset 17:a9d8e2ee41f6 draft
Uploaded
author | greg |
---|---|
date | Fri, 05 May 2017 10:31:06 -0400 |
parents | 016d6f127f8d |
children | 90a2e4ed5132 |
files | utils.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.py Fri May 05 09:34:01 2017 -0400 +++ b/utils.py Fri May 05 10:31:06 2017 -0400 @@ -24,7 +24,7 @@ fherr = open(fstderr, 'wb') fstdout = os.path.join(os.getcwd(), FSTDOUT) fhout = open(fstdout, 'wb') - return fherr, fhout + return fstderr, fherr, fstdout, fhout def move_directory_files(source_dir, destination_dir): @@ -38,7 +38,7 @@ def run_command(cmd): - fherr, fhout = get_response_buffers() + fstderr, fherr, fstdout, fhout = get_response_buffers() proc = subprocess.Popen(args=cmd, stderr=fherr, stdout=fhout, shell=True) rc = proc.wait() # Check results.