add HTML and ENV_FILES
This commit is contained in:
parent
b124625a52
commit
4c5f469cd8
1 changed files with 14 additions and 4 deletions
|
|
@ -25,7 +25,9 @@ class DirManager:
|
||||||
|
|
||||||
def create_all_dirs(self):
|
def create_all_dirs(self):
|
||||||
self.create_dirs(self._output_dir, exist_ok=True)
|
self.create_dirs(self._output_dir, exist_ok=True)
|
||||||
self.create_dirs([self.SESSION, self.RECORDS, self.RECORDS / "html", self.STATES, self.RESULTS], exist_ok=True)
|
self.create_dirs(
|
||||||
|
[self.SESSION, self.RECORDS, self.HTML, self.STATES, self.ENV_FILES, self.RESULTS], exist_ok=True
|
||||||
|
)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def OUTPUT(self):
|
def OUTPUT(self):
|
||||||
|
|
@ -37,15 +39,23 @@ class DirManager:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def RECORDS(self):
|
def RECORDS(self):
|
||||||
return self.SESSION / Path("records")
|
return self.SESSION / "records"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def HTML(self):
|
||||||
|
return self.RECORDS / "html"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def STATES(self):
|
def STATES(self):
|
||||||
return self.SESSION / Path("states")
|
return self.SESSION / "states"
|
||||||
|
|
||||||
|
@property
|
||||||
|
def ENV_FILES(self):
|
||||||
|
return self.STATES / "env_files"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def RESULTS(self):
|
def RESULTS(self):
|
||||||
return self.SESSION / Path("results")
|
return self.SESSION / "results"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def create_dirs(dirs: Path | list[Path] | dict[str, Path], exist_ok=False):
|
def create_dirs(dirs: Path | list[Path] | dict[str, Path], exist_ok=False):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue