Commit a9753c6e authored by Eric Duminil's avatar Eric Duminil
Browse files

Adding regionchooser as script too

No parameters yet
parent 2e838b58
...@@ -15,8 +15,8 @@ dependencies = [ ...@@ -15,8 +15,8 @@ dependencies = [
] ]
[project.scripts] [project.scripts]
# TODO: Define regionchooser too?
simstadt = "simstadt:main" simstadt = "simstadt:main"
regionchooser = "simstadt:run_regionchooser"
[dependency-groups] [dependency-groups]
dev = ["pytest>=8.0", "rich", "pytest-cov"] dev = ["pytest>=8.0", "rich", "pytest-cov"]
......
...@@ -8,7 +8,7 @@ from .results import ( ...@@ -8,7 +8,7 @@ from .results import (
SolarPotentialResults, SolarPotentialResults,
create_simstadt_results, create_simstadt_results,
) )
from .runner import run_workflow_with_citygml from .runner import run_workflow_with_citygml, run_regionchooser
from .utils import clean_old_workflows from .utils import clean_old_workflows
from .workflows import greenwater_simulation, heatdemand_simulation, photovoltaic_simulation from .workflows import greenwater_simulation, heatdemand_simulation, photovoltaic_simulation
...@@ -25,6 +25,7 @@ __all__ = [ ...@@ -25,6 +25,7 @@ __all__ = [
"create_simstadt_results", "create_simstadt_results",
"clean_old_workflows", "clean_old_workflows",
"run_workflow_with_citygml", "run_workflow_with_citygml",
"run_regionchooser",
"photovoltaic_simulation", "photovoltaic_simulation",
"heatdemand_simulation", "heatdemand_simulation",
"greenwater_simulation", "greenwater_simulation",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment