initial implementation

This commit is contained in:
Philipp Glaum 2024-04-10 12:04:45 +02:00
parent e1502c95dd
commit 74185560e0
2 changed files with 8 additions and 1 deletions

View File

@ -22,7 +22,13 @@ configfile: "config/config.yaml"
run = config["run"]
scenarios = get_scenarios(run)
RDIR = get_rdir(run)
prefix = run.get("prefix", "")
rdir = get_rdir(run)
if prefix:
RDIR = f"{prefix}/{rdir}"
else:
RDIR = rdir
logs = path_provider("logs/", RDIR, run["shared_resources"])
benchmarks = path_provider("benchmarks/", RDIR, run["shared_resources"])

View File

@ -20,6 +20,7 @@ remote:
# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#run
run:
prefix: ""
name: ""
scenarios:
enable: false