Mercurial > repos > trinity_ctat > align_and_estimate_abundance
changeset 9:b6152cc26ffd draft
Trying to fix a syntax error.
author | trinity_ctat |
---|---|
date | Tue, 26 Sep 2017 15:14:48 -0400 |
parents | 28f6d3b8e931 |
children | a8fa525a2f30 |
files | trinityToolWrapper.py |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/trinityToolWrapper.py Tue Sep 26 14:54:33 2017 -0400 +++ b/trinityToolWrapper.py Tue Sep 26 15:14:48 2017 -0400 @@ -26,8 +26,11 @@ except: msg = "You must set the environmental variable TRINITY_HOME to the base installation directory of Trinity before running {:s}.".format(sys.argv[0]) sys.stderr.write(msg) - t, v, tb = sys.exc_info() - raise t, v, tb + # t, v, tb = sys.exc_info() + # raise t, v, tb + # For some reason the above was giving a syntax error. + # A simple raise shoudl reraise the existing exception. + raise else: TrinityPath, err_info = pipe1.communicate() # FIX - probably should be checking err_info for errors...