mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
added ValueError for no labour adjustment factor found
This commit is contained in:
parent
20bc4cab0e
commit
5aebd43c4b
1 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue