# HG changeset patch # User george-weingart # Date 1399410917 14400 # Node ID 73ab9bfbeaf12f64c253f1057492d671df935715 # Parent 8002208303860713e3f7964d02e1b2601f4bd792 Updated root-dir parameter diff -r 800220830386 -r 73ab9bfbeaf1 micropita_prepare.py --- 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]+ " " +\