mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixed bug with wall attributes cleaning
This commit is contained in:
parent
3fc1e69e50
commit
ddd4aa479b
2 changed files with 6 additions and 0 deletions
|
|
@ -614,6 +614,9 @@ class Property:
|
|||
# Handling edge case for walls
|
||||
fill_with = False if description == "walls-description" else None
|
||||
fill_dict = dict(zip(template.keys(), [fill_with] * len(template)))
|
||||
if description == "walls-description":
|
||||
fill_dict["thermal_transmittance_unit"] = None
|
||||
fill_dict["insulation_thickness"] = "none"
|
||||
|
||||
fill_dict.update(
|
||||
{
|
||||
|
|
|
|||
|
|
@ -148,6 +148,9 @@ class WallAttributes(Definitions):
|
|||
for key in self.DEFAULT_KEYS:
|
||||
result[key] = False
|
||||
|
||||
result["thermal_transmittance_unit"] = None
|
||||
result["insulation_thickness"] = "none"
|
||||
|
||||
return result
|
||||
|
||||
description = self.description.lower()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue