From 58db08e5a19763279bd12232174f383f07fca754 Mon Sep 17 00:00:00 2001 From: Samuel Pastva Date: Thu, 21 Mar 2024 14:49:09 +0100 Subject: [PATCH] Do not create the output directory automatically. --- benchmark/bench_sd_expand_bfs.py | 1 - benchmark/bench_sd_expand_dfs.py | 1 - benchmark/bench_sd_expand_min.py | 1 - benchmark/bench_sd_expand_scc.py | 1 - 4 files changed, 4 deletions(-) diff --git a/benchmark/bench_sd_expand_bfs.py b/benchmark/bench_sd_expand_bfs.py index 48dc7dc..c006db7 100644 --- a/benchmark/bench_sd_expand_bfs.py +++ b/benchmark/bench_sd_expand_bfs.py @@ -21,7 +21,6 @@ model_name = os.path.basename(sys.argv[1]) sd_name = os.path.splitext(model_name)[0] + '.pickle' -os.makedirs('./_sd_expand_bfs') with open(f'./_sd_expand_bfs/{sd_name}', 'wb') as handle: pickle.dump(sd, handle) diff --git a/benchmark/bench_sd_expand_dfs.py b/benchmark/bench_sd_expand_dfs.py index a723503..d8fe108 100644 --- a/benchmark/bench_sd_expand_dfs.py +++ b/benchmark/bench_sd_expand_dfs.py @@ -21,7 +21,6 @@ model_name = os.path.basename(sys.argv[1]) sd_name = os.path.splitext(model_name)[0] + '.pickle' -os.makedirs('./_sd_expand_dfs') with open(f'./_sd_expand_dfs/{sd_name}', 'wb') as handle: pickle.dump(sd, handle) diff --git a/benchmark/bench_sd_expand_min.py b/benchmark/bench_sd_expand_min.py index 36a2e81..86fbac0 100644 --- a/benchmark/bench_sd_expand_min.py +++ b/benchmark/bench_sd_expand_min.py @@ -20,7 +20,6 @@ model_name = os.path.basename(sys.argv[1]) sd_name = os.path.splitext(model_name)[0] + '.pickle' -os.makedirs('./_sd_expand_min') with open(f'./_sd_expand_min/{sd_name}', 'wb') as handle: pickle.dump(sd, handle) diff --git a/benchmark/bench_sd_expand_scc.py b/benchmark/bench_sd_expand_scc.py index f606d71..4662f8a 100644 --- a/benchmark/bench_sd_expand_scc.py +++ b/benchmark/bench_sd_expand_scc.py @@ -21,7 +21,6 @@ model_name = os.path.basename(sys.argv[1]) sd_name = os.path.splitext(model_name)[0] + '.pickle' -os.makedirs('./_sd_expand_scc') with open(f'./_sd_expand_scc/{sd_name}', 'wb') as handle: pickle.dump(sd, handle)