mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added pytest-postgresql to dev container
This commit is contained in:
parent
63879b8fdd
commit
551e7beb74
3 changed files with 6 additions and 6 deletions
|
|
@ -20,5 +20,6 @@ pytest-cov==7.0.0
|
|||
ipykernel>=6.25,<7
|
||||
dotenv
|
||||
psycopg[binary]
|
||||
pytest-postgresql
|
||||
# Formatting
|
||||
black==26.1.0
|
||||
|
|
@ -754,7 +754,7 @@ def optimise_with_scenarios(
|
|||
# Wall measures could be IWI or EWI
|
||||
remaining_wall_measures = [
|
||||
x for x in all_measure_types if x in WALL_INSULATION_MEASURES + [
|
||||
"internal_wall_insulation+mechanical_ventilation", "external_wall_insulation+mechanical_ventilation"
|
||||
"internal_wall_insulation+mechanical_ventilation", "external_wall_insulation+mechanical_ventilation",
|
||||
]
|
||||
]
|
||||
remaining_roof_measures = [x for x in all_measure_types if x in ROOF_INSULATION_MEASURES]
|
||||
|
|
|
|||
|
|
@ -28,16 +28,15 @@ from sqlalchemy import func
|
|||
|
||||
# PORTFOLIO_ID = 206
|
||||
# SCENARIOS = [389]
|
||||
PORTFOLIO_ID = 581
|
||||
PORTFOLIO_ID = 597
|
||||
SCENARIOS = [
|
||||
1074, 1075
|
||||
1099
|
||||
]
|
||||
scenario_names = {
|
||||
1074: "EPC C",
|
||||
1075: "EPC C Again",
|
||||
1099: "£10k cost capped - no solid wall or floor",
|
||||
}
|
||||
|
||||
project_name = "???"
|
||||
project_name = "Livespace Rentals"
|
||||
|
||||
|
||||
def get_data(portfolio_id, scenario_ids):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue