From 2621afb3cd4a808293ccc4d38b2c3ee631afd71b Mon Sep 17 00:00:00 2001 From: p_monsalvete Date: Thu, 4 May 2023 10:41:04 -0400 Subject: [PATCH] small bug in nrcan constriction factory --- hub/imports/construction/nrcan_physics_parameters.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hub/imports/construction/nrcan_physics_parameters.py b/hub/imports/construction/nrcan_physics_parameters.py index aee0c48d..a6c88462 100644 --- a/hub/imports/construction/nrcan_physics_parameters.py +++ b/hub/imports/construction/nrcan_physics_parameters.py @@ -35,9 +35,8 @@ class NrcanPhysicsParameters: city = self._city nrcan_catalog = ConstructionCatalogFactory('nrcan').catalog for building in city.buildings: + function = Dictionaries().hub_function_to_nrcan_construction_function[building.function] try: - function = Dictionaries().hub_function_to_nrcan_construction_function[building.function] - archetype = self._search_archetype(nrcan_catalog, function, building.year_of_construction, self._climate_zone) except KeyError: