solved bug in idf

This commit is contained in:
Pilar Monsalvete 2023-07-12 16:28:14 -04:00
parent 8be6e3b3e8
commit 8434bdef04

View File

@ -104,7 +104,8 @@ class Idf:
else:
for building_name in target_buildings:
building = city.city_object(building_name)
self._adjacent_buildings += building.neighbours
if building.neighbours is not None:
self._adjacent_buildings += building.neighbours
self._export()
def _sanity_check(self):