From cb3f9c0252e67b817e7ab66f4e63f9c887f4f804 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Thu, 17 Oct 2024 14:29:17 +0100 Subject: [PATCH] hanling extension cwi --- recommendations/Recommendations.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recommendations/Recommendations.py b/recommendations/Recommendations.py index be713e91..b9862585 100644 --- a/recommendations/Recommendations.py +++ b/recommendations/Recommendations.py @@ -476,7 +476,9 @@ class Recommendations: impact_summary = [] for recommendations_by_type in property_recommendations: for rec in recommendations_by_type: - if rec["type"] in ["mechanical_ventilation", "trickle_vents", "draught_proofing"]: + if rec["type"] in [ + "mechanical_ventilation", "trickle_vents", "draught_proofing", "extension_cavity_wall_insulation" + ]: # We don't have a percieved sap impact of mechanical ventilation or trickle vents, and we don't # have the capacity to score draught proofing continue @@ -757,7 +759,9 @@ class Recommendations: # We now deduce if any of the recommendations result in a change of fuel type for recs in property_recommendations: for rec in recs: - if rec["type"] in ["mechanical_ventilation", "trickle_vents", "draught_proofing"]: + if rec["type"] in [ + "mechanical_ventilation", "trickle_vents", "draught_proofing", "extension_cavity_wall_insulation" + ]: # We cannot score the impact on draught proofing continue