Fix whitespace

This commit is contained in:
Tom Russell 2023-08-15 12:42:38 +01:00
parent df65152198
commit 7a72846659

View File

@ -46,11 +46,8 @@ test_data_geojson = str(os.path.join(test_dir, "test_buildings.geojson"))
subprocess.run(["rm", test_data_geojson]) subprocess.run(["rm", test_data_geojson])
gdf_to_save = gdf_proj.reset_index()[["osmid", "geometry"]] gdf_to_save = gdf_proj.reset_index()[["osmid", "geometry"]]
gdf_to_save.rename( gdf_to_save.rename(columns={"osmid": "fid"}).to_file(
columns={"osmid": "fid"} test_data_geojson, driver="GeoJSON"
).to_file(
test_data_geojson,
driver="GeoJSON"
) )
# convert to CSV # convert to CSV