# HG changeset patch # User trinity_ctat # Date 1506440899 14400 # Node ID cb71c6b0bf66fe23562e6db6ac63a7ac57a3dbde # Parent 32b6a47c93126693a394c9874e8048bc8d1c5a7a Fix another python syntax error. diff -r 32b6a47c9312 -r cb71c6b0bf66 trinityToolWrapper.py --- 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])