mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Added corrections to walls cleaning class
This commit is contained in:
parent
07ddf8383b
commit
6f32aa672b
1 changed files with 7 additions and 0 deletions
|
|
@ -75,12 +75,19 @@ class WallAttributes(Definitions):
|
|||
'insulation_thickness', 'external_insulation', 'internal_insulation'
|
||||
]
|
||||
|
||||
CORRECTIONS = {
|
||||
"Granite or whin, as built, no insulation (assumed)": "Granite or whinstone, as built, no insulation (assumed)",
|
||||
}
|
||||
|
||||
def __init__(self, description: str):
|
||||
"""
|
||||
:param description: Description of the walls.
|
||||
"""
|
||||
self.description: str = description
|
||||
|
||||
if self.description in self.CORRECTIONS:
|
||||
self.description = self.CORRECTIONS[self.description]
|
||||
|
||||
self.welsh_translation_search()
|
||||
|
||||
self.nodata = not description or description in self.DATA_ANOMALY_MATCHES
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue