diff --git a/recommendations/Costs.py b/recommendations/Costs.py index fafc15aa..c855e690 100644 --- a/recommendations/Costs.py +++ b/recommendations/Costs.py @@ -91,6 +91,9 @@ class Costs: x["Region"] == self.county ][0] + if not self.labour_adjustment_factor: + raise ValueError("Labour adjustment factor not found") + def cavity_wall_insulation(self, material): """ Calculates the total cost for cavity wall insulation based on material and labor costs,