Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Nov 18, 2023
1 parent 0c18b9d commit 559401c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
34 changes: 17 additions & 17 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cityseer"
version = '4.5.0'
version = '4.5.1'
description = "Computational tools for network-based pedestrian-scale urban analysis"
readme = "README.md"
requires-python = ">=3.10, <3.12"
Expand Down Expand Up @@ -30,8 +30,6 @@ keywords = [
authors = [{ name = "Gareth Simons", email = "[email protected]" }]
maintainers = [{ name = "Gareth Simons", email = "[email protected]" }]
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Rust",
Expand Down
6 changes: 3 additions & 3 deletions pysrc/cityseer/tools/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,16 +986,16 @@ def generic_edges_geopandas_from_nx(
logger.info("Preparing node and edge arrays from networkX graph.")
agg_edge_data = []
# set edges
for start_nd_key, end_nd_key, edge_idx, edge_data in nx_multigraph.edges(keys=True, data=True):
for start_nd_key, end_nd_key, edge_idx, edge_data in nx_multigraph.edges(keys=True, data=True): # type: ignore
agg_edge_data.append(
{
"start_nd_key": start_nd_key,
"end_nd_key": end_nd_key,
"edge_idx": edge_idx,
"geom": edge_data["geom"],
"geom": edge_data["geom"], # type: ignore
}
)
edges_gdf = gpd.GeoDataFrame(agg_edge_data, crs=crs, geometry="geom")
edges_gdf = gpd.GeoDataFrame(agg_edge_data, crs=crs, geometry="geom") # type: ignore

return edges_gdf

Expand Down

0 comments on commit 559401c

Please sign in to comment.