Skip to content

Commit

Permalink
Fixed generation of primary output folder (#88)
Browse files Browse the repository at this point in the history
* Fixed generation of primary output folder

* gitkeeps
  • Loading branch information
SadCheeto authored Apr 12, 2023
1 parent 931979e commit 3adb659
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions byoqm/runner/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def _write_to_csv(self, results: Dict):
return file_location

def _gen_output_paths_if_not_exists(self):
Path(self._output_dir).resolve().mkdir(exist_ok=True)
Path(self._output_dir / Path("violations")).resolve().mkdir(exist_ok=True)
Path(self._output_dir / Path("frequencies")).resolve().mkdir(exist_ok=True)
Path(self._output_dir / Path("metadata")).resolve().mkdir(exist_ok=True)
Empty file added output/frequencies/.gitkeep
Empty file.
Empty file added output/metadata/.gitkeep
Empty file.
Empty file added output/violations/.gitkeep
Empty file.

0 comments on commit 3adb659

Please sign in to comment.