From fae577deaa5ab9af1421651ff815d80f0871696b Mon Sep 17 00:00:00 2001 From: home-imac Date: Mon, 14 Nov 2022 03:19:04 -0500 Subject: [PATCH] quick fix for failed archetype search --- imports/construction/us_physics_parameters.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/imports/construction/us_physics_parameters.py b/imports/construction/us_physics_parameters.py index 2baa6749..657164bf 100644 --- a/imports/construction/us_physics_parameters.py +++ b/imports/construction/us_physics_parameters.py @@ -74,7 +74,9 @@ class UsPhysicsParameters(NrelPhysicsInterface): if (str(function) == str(building_archetype.function)) and \ (climate_zone == str(building_archetype.climate_zone)): return building_archetype - return None + # Todo: line below is added by Milad as a quick fix for when archetypes search is not found + return building_archetype + # return None @staticmethod def _search_construction_in_archetype(archetype, construction_type):