Maybe this is already fixed and not yet pushed, but running the mwe leads to the following, without a gaps.gpkg being saved anywhere.
python examples/mwe.py
Downloading OSM data..
Dropping parallel edges..
Detecting gaps..
Calculating betweenness centrality..
Ranking gaps..
Saving data..
/Users/mszell/Github/BikeNetKit/FixBikeNet/fixbikenet/fixbikenet.py:171: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
edges_pbi_gdf.drop(["osmid"], axis=1, inplace=True)
/Users/mszell/miniforge3/lib/python3.11/site-packages/geopandas/geodataframe.py:1969: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame.
Try using .loc[row_indexer,col_indexer] = value instead
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
super().setitem(key, value)
Maybe this is already fixed and not yet pushed, but running the mwe leads to the following, without a gaps.gpkg being saved anywhere.