diff tools/mira3/mira.py @ 24:ad14a345f1b0 draft

planemo upload for repository https://github.com/peterjc/galaxy_mira/tree/master/tools/mira3/ commit 6405ba93fcec7ea93452bf54d559c7507ee7a57c
author peterjc
date Wed, 07 Jun 2017 12:33:07 -0400
parents 83a94a5038a7
children 85b86f31327c
line wrap: on
line diff
--- a/tools/mira3/mira.py	Thu May 18 13:35:41 2017 -0400
+++ b/tools/mira3/mira.py	Wed Jun 07 12:33:07 2017 -0400
@@ -19,7 +19,7 @@
     # however there is some pipe error when doing that here.
     cmd = ["mira", "-v"]
     try:
-        child = subprocess.Popen(cmd,
+        child = subprocess.Popen(cmd, universal_newlines=True,
                                  stdout=subprocess.PIPE,
                                  stderr=subprocess.STDOUT)
     except Exception as err:
@@ -91,7 +91,7 @@
 handle = open(out_log, "w")
 try:
     # Run MIRA
-    child = subprocess.Popen(cmd_list,
+    child = subprocess.Popen(cmd_list, universal_newlines=True,
                              stdout=handle,
                              stderr=subprocess.STDOUT)
 except Exception as err: