batch analysis analysis
This commit is contained in:
parent
6259e856e5
commit
b5b0f2f84b
4 changed files with 123 additions and 1864 deletions
|
@ -35,14 +35,17 @@ def main(base_dir, name_filter):
|
|||
print(f"Found {len(unprocessed)} unprocessed and {len(unprocessable)} unprocessable artifacts.")
|
||||
|
||||
current_artifact = unprocessed.pop()
|
||||
print(f"Now working on {current_artifact}.")
|
||||
experiment_name = os.path.basename(current_artifact)
|
||||
print(f"Now working on {current_artifact} --> {experiment_name}.")
|
||||
|
||||
out_dir = os.path.join(current_artifact, 'output')
|
||||
|
||||
shutil.rmtree(out_dir, ignore_errors=True)
|
||||
os.makedirs(out_dir, exist_ok=False)
|
||||
|
||||
os.environ["ANA_NB_OUT_PATH"] = f"'{out_dir}'"
|
||||
os.environ["ANA_NB_TR_PATH"] = f"'{os.path.join(current_artifact, 'tracing/max-ma-trace/ust')}'"
|
||||
os.environ["ANA_NB_EXPERIMENT_NAME"] = f"'{experiment_name}'"
|
||||
os.environ["ANA_NB_TR_PATH"] = f"'/home/niklas/dataflow-analysis/{current_artifact}/ust'"
|
||||
|
||||
try:
|
||||
pm.execute_notebook(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue