forked from s_ranjbar/city_retrofit
solved bug in idf
This commit is contained in:
parent
8be6e3b3e8
commit
8434bdef04
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user