Skip to content

Commit

Permalink
fix: initialize folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasrothenberger committed Oct 25, 2023
1 parent a53900b commit 05bd2f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions discopop_explorer/discopop_explorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ def run(arguments: ExplorerArguments):
# create explorer directory if not already present
if not os.path.exists(os.path.join(arguments.project_path, "explorer")):
os.mkdir(os.path.join(arguments.project_path, "explorer"))
# create file to store next free pattern ids if not already present
if not os.path.exists("next_free_pattern_id.txt"):
with open("next_free_pattern_id.txt", "w") as f:
f.write(str(0))

if arguments.enable_profiling_dump_file is not None:
profile = cProfile.Profile()
Expand Down

0 comments on commit 05bd2f0

Please sign in to comment.