solved_bugs_ep #27

Merged
g_gutierrez merged 3 commits from solved_bugs_ep into main 2023-06-09 13:41:48 -04:00
Showing only changes of commit 5dcead4e5d - Show all commits

View File

@ -121,7 +121,7 @@ class Geojson:
year_of_construction = int(feature['properties'][self._year_of_construction_field])
function = None
if self._function_field is not None:
function = feature['properties'][self._function_field]
function = str(feature['properties'][self._function_field])
if self._function_to_hub is not None:
# use the transformation dictionary to retrieve the proper function
if function in self._function_to_hub: