Mercurial > repos > trinity_ctat > align_and_estimate_abundance
diff trinityToolWrapper.py @ 7:78d12a725443 draft
Adding additional requirements for align_and_estimate_abundance.
author | trinity_ctat |
---|---|
date | Tue, 26 Sep 2017 14:31:27 -0400 |
parents | 12bc09b4a26d |
children | 28f6d3b8e931 |
line wrap: on
line diff
--- a/trinityToolWrapper.py Tue Sep 26 13:58:08 2017 -0400 +++ b/trinityToolWrapper.py Tue Sep 26 14:31:27 2017 -0400 @@ -45,7 +45,9 @@ # Take off the last part of the path (which is the Trinity command) TRINITY_BASE_DIR = "/".join(TrinityPath.split("/")[0:-1]) else: - print "Either set TRINITY_HOME to the trinity base directory, or ensure that directory is in the PATH." + sys.stderr.write("Either set TRINITY_HOME to the trinity base directory, or ensure that directory is in the PATH before running.") + sys.exit() + # get bindir bindir = sys.argv[0]