File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ def process_row(
193193 category_weight = 0
194194
195195 # This is a fix as per the method to include the missing islands layer:
196- habitats = list (habitats ) + ["islands" ]
196+ habitats_list = list (habitats ) + ["islands" ]
197197
198198 gdf = gpd .GeoDataFrame (
199199 [[
@@ -204,7 +204,7 @@ def process_row(
204204 systems ,
205205 int (elevation_lower ) if elevation_lower is not None else None ,
206206 int (elevation_upper ) if elevation_upper is not None else None ,
207- '|' .join (habitats ),
207+ '|' .join (habitats_list ),
208208 scientific_name ,
209209 family_name ,
210210 class_name ,
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ def process_species(
243243 logger .debug ("Dropping %s: %s" , id_no , exc )
244244 return report
245245
246- habitats = list (habitats ) + ["islands" ]
246+ habitats_list = list (habitats ) + ["islands" ]
247247
248248 # Create GeoDataFrame with all data
249249 gdf = gpd .GeoDataFrame (
@@ -255,7 +255,7 @@ def process_species(
255255 systems ,
256256 elevation_lower ,
257257 elevation_upper ,
258- '|' .join (habitats ),
258+ '|' .join (habitats_list ),
259259 scientific_name ,
260260 family_name ,
261261 class_name ,
You can’t perform that action at this time.
0 commit comments