Added iteration_logger

This commit is contained in:
Niels Geens
2024-11-19 20:24:21 +01:00
parent ef94d0d1a0
commit 03cf69d272
44 changed files with 9957 additions and 13 deletions

View File

@@ -33,6 +33,12 @@ class Config:
default=os.getenv('SIA_ACTION_SCHEMA', 'action_schema.xsd'),
help='Path to the action schema file (default: action_schema.xsd, env: SIA_ACTION_SCHEMA)'
)
parser.add_argument(
'--iterations-dir',
type=Path,
default=os.getenv('SIA_ITERATIONS_DIR', 'iterations'),
help='Path to the directory for storing iterations (default: iterations, env: SIA_ITERATIONS_DIR)'
)
parser.add_argument(
'--server',
action='store_true',
@@ -112,6 +118,11 @@ class Config:
def action_schema(self) -> Path:
"""Path to the action schema file."""
return self.args.action_schema
@property
def iterations_dir(self) -> Path:
"""Path to the directory for storing iterations."""
return self.args.iterations_dir
@property
def server(self) -> bool: