diff --git a/src/dirmanager.py b/src/dirmanager.py index 5f04212..e5066fa 100644 --- a/src/dirmanager.py +++ b/src/dirmanager.py @@ -8,9 +8,10 @@ class DirManager: The structures is as follows: tests dir/ session_dir-1/ + progress records - states results + states session_dir-2/ records ... @@ -25,7 +26,7 @@ class DirManager: def create_all_dirs(self): self.create_dirs(self._output_dir, exist_ok=True) - self.create_dirs([self.SESSION, self.RECORDS, self.STATES, self.RESULTS], exist_ok=True) + self.create_dirs([self.SESSION, self.RECORDS, self.STATES, self.RESULTS, self.PROGRESS], exist_ok=True) @property def OUTPUT(self): @@ -47,6 +48,10 @@ class DirManager: def RESULTS(self): return self.SESSION / Path("results") + @property + def PROGRESS(self): + return self.SESSION / Path("progress") + @staticmethod def create_dirs(dirs: Path | list[Path] | dict[str, Path], exist_ok=False): match dirs: