Mercurial > repos > peterjc > effectivet3
changeset 9:b863c4bec840 draft
Uploaded v0.0.11, take 10, debug output if module folder missing
author | peterjc |
---|---|
date | Mon, 13 May 2013 05:14:33 -0400 |
parents | 4a0aa59062f7 |
children | dba60c447660 |
files | tools/effectiveT3/effectiveT3.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/effectiveT3/effectiveT3.py Fri May 10 11:32:29 2013 -0400 +++ b/tools/effectiveT3/effectiveT3.py Mon May 13 05:14:33 2013 -0400 @@ -95,6 +95,9 @@ if not os.path.isfile(effectiveT3_jar): stop_err("Effective T3 JAR file not found: %r" % effectiveT3_jar) +if not os.path.isdir(os.path.join(effectiveT3_dir, "module")): + stop_err("Effective T3 module folder not found: %r" % os.path.join(effectiveT3_dir, "module")) + effectiveT3_model = os.path.join(effectiveT3_dir, "module", model) if not os.path.isfile(effectiveT3_model): sys.stderr.write("Contents of %r is %s\n"