Mercurial > repos > george-weingart > micropita
changeset 4:73ab9bfbeaf1
Updated root-dir parameter
author | george-weingart |
---|---|
date | Tue, 06 May 2014 17:15:17 -0400 |
parents | 800220830386 |
children | cb7b4786434d |
files | micropita_prepare.py |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/micropita_prepare.py Tue May 06 17:10:32 2014 -0400 +++ b/micropita_prepare.py Tue May 06 17:15:17 2014 -0400 @@ -64,7 +64,6 @@ parser.add_argument('-n', action="store",dest='NSamples') parser.add_argument('--lastmeta', action="store",dest='lastmeta') parser.add_argument('--stratify_value', action="store",dest='stratify_value') - parser.add_argument('--root_dir', action="store", dest='root_dir',nargs='?') try: @@ -140,7 +139,7 @@ OutTargetsFile.write(OutputString) OutTargetsFile.close() os_command = "python " + \ - results.root_dir + \ + root_dir + \ "/tools/micropita/" + \ "MicroPITA.py "+\ "--lastmeta " + table_lines[LastMetaInt]+ " " +\ @@ -162,7 +161,7 @@ or results.MParameter == "diverse"\ or results.MParameter == "extreme": os_command = "python " + \ - results.root_dir + \ + root_dir + \ "/tools/micropita/" + \ "MicroPITA.py "+\ "--lastmeta " + table_lines[LastMetaInt]+ " " +\ @@ -187,7 +186,7 @@ if results.MParameter == "distinct"\ or results.MParameter == "discriminant": os_command = "python " + \ - results.root_dir + \ + root_dir + \ "/tools/micropita/" + \ "MicroPITA.py "+\ "--lastmeta " + table_lines[LastMetaInt]+ " " +\