Mercurial > repos > peterjc > effectivet3
diff tools/effectiveT3/effectiveT3.py @ 29:35c358aa7801 draft
planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/effectiveT3 commit 37d5b47ec23e2cbaa453cc660bb1fcbb10dd34ee-dirty
author | peterjc |
---|---|
date | Wed, 17 May 2017 11:16:58 -0400 |
parents | af14f755c05b |
children | 007e86eff414 |
line wrap: on
line diff
--- a/tools/effectiveT3/effectiveT3.py Thu May 11 12:44:17 2017 -0400 +++ b/tools/effectiveT3/effectiveT3.py Wed May 17 11:16:58 2017 -0400 @@ -21,7 +21,7 @@ if "-v" in sys.argv or "--version" in sys.argv: # TODO - Get version of the JAR file dynamically? - print("Wrapper v0.0.17, TTSS_GUI-1.0.1.jar") + print("Wrapper v0.0.19, TTSS_GUI-1.0.1.jar") sys.exit(0) if len(sys.argv) != 5: @@ -74,7 +74,7 @@ # script is killed, so too is the child process. try: child = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) - except Exception, err: + except Exception as err: sys.exit("Error invoking command:\n%s\n\n%s\n" % (" ".join(cmd), err)) # Use .communicate as can get deadlocks with .wait(), stdout, stderr = child.communicate()