mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
add temp fix for cleaned to allow for new builds to flag thermal unit
This commit is contained in:
parent
d51eeec58d
commit
c3e04d2d00
1 changed files with 15 additions and 0 deletions
|
|
@ -64,6 +64,21 @@ def get_cleaned_description_mapping():
|
|||
|
||||
clean_lookup = get_cleaned_description_mapping()
|
||||
|
||||
# TODO: THIS IS A TEMPORARY FIX
|
||||
new_walls_description_mapping = pd.DataFrame(clean_lookup["walls-description"])
|
||||
|
||||
import numpy as np
|
||||
|
||||
new_walls_description_mapping["thermal_transmittance_unit"] = np.where(
|
||||
~pd.isnull(new_walls_description_mapping["thermal_transmittance_unit"]),
|
||||
"w/m-¦k",
|
||||
new_walls_description_mapping["thermal_transmittance_unit"],
|
||||
)
|
||||
|
||||
clean_lookup["walls-description"] = new_walls_description_mapping.to_dict(
|
||||
orient="records"
|
||||
)
|
||||
|
||||
|
||||
class EPCPipeline:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue