# HG changeset patch # User peterjc # Date 1495034218 14400 # Node ID 35c358aa7801af895914e69fab5f436a836929df # Parent d6976a4c055bd464fdb8c748afbca2922eb8c39a planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/effectiveT3 commit 37d5b47ec23e2cbaa453cc660bb1fcbb10dd34ee-dirty diff -r d6976a4c055b -r 35c358aa7801 tools/effectiveT3/README.rst --- a/tools/effectiveT3/README.rst Thu May 11 12:44:17 2017 -0400 +++ b/tools/effectiveT3/README.rst Wed May 17 11:16:58 2017 -0400 @@ -98,6 +98,7 @@ - Minor internal changes to Python script for error reporting & style. v0.0.18 - Use ```` (internal change only). - Single quote command line arguments (internal change only). +v0.0.19 - Python 3 compatible exception handling. ======= ====================================================================== diff -r d6976a4c055b -r 35c358aa7801 tools/effectiveT3/effectiveT3.py --- 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() diff -r d6976a4c055b -r 35c358aa7801 tools/effectiveT3/effectiveT3.xml --- a/tools/effectiveT3/effectiveT3.xml Thu May 11 12:44:17 2017 -0400 +++ b/tools/effectiveT3/effectiveT3.xml Wed May 17 11:16:58 2017 -0400 @@ -1,4 +1,4 @@ - + Find bacterial effectors in protein sequences effectiveT3