quick fix for failed archetype search
This commit is contained in:
parent
3568255c29
commit
fae577deaa
|
@ -74,7 +74,9 @@ class UsPhysicsParameters(NrelPhysicsInterface):
|
||||||
if (str(function) == str(building_archetype.function)) and \
|
if (str(function) == str(building_archetype.function)) and \
|
||||||
(climate_zone == str(building_archetype.climate_zone)):
|
(climate_zone == str(building_archetype.climate_zone)):
|
||||||
return building_archetype
|
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
|
@staticmethod
|
||||||
def _search_construction_in_archetype(archetype, construction_type):
|
def _search_construction_in_archetype(archetype, construction_type):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user