Mercurial > repos > trinity_ctat > align_and_estimate_abundance
changeset 4:cb71c6b0bf66 draft
Fix another python syntax error.
author | trinity_ctat |
---|---|
date | Tue, 26 Sep 2017 11:48:19 -0400 |
parents | 32b6a47c9312 |
children | 98d99fed9d35 |
files | trinityToolWrapper.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/trinityToolWrapper.py Tue Sep 26 11:43:35 2017 -0400 +++ b/trinityToolWrapper.py Tue Sep 26 11:48:19 2017 -0400 @@ -32,7 +32,7 @@ # FIX - probably should be checking err_info for errors... # Determine the TRINITY_BASE_DIR from output1. # If TrinityPath is a link, we need to dereference the link. - while os.path.islink(TrinityPath) + while os.path.islink(TrinityPath): TrinityPath = os.path.join(os.path.dirname(TrinityPath),os.readlink(TrinityPath)) # Take off the last part of the path (which is the Trinity command) TRINITY_BASE_DIR = "/".join(TrinityPath.split("/")[0:-1])