Skip to content

Commit

Permalink
fixes type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
songololo committed Jan 29, 2025
1 parent 9bbdd97 commit 0ffb489
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pysrc/cityseer/metrics/layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def compute_stats(
for stats_column_label in stats_column_labels:
if stats_column_label not in data_gdf.columns:
raise ValueError("The specified numerical stats column name can't be found in the GeoDataFrame.")
stats_maps.append(data_gdf[stats_column_label].to_dict()) # type: ignore)
stats_maps.append(data_gdf[stats_column_label].to_dict()) # type: ignore
# stats
partial_func = partial(
data_map.stats,
Expand Down
2 changes: 1 addition & 1 deletion pysrc/cityseer/tools/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def blend_metrics(
# suffix is only applied for overlapping column names
merged_edges_gdf = pd.merge(
merged_edges_gdf,
nodes_gdf[[node_column]],
nodes_gdf[[node_column]], # type: ignore
left_on="nx_start_node_key",
right_index=True, # type: ignore
)
Expand Down

0 comments on commit 0ffb489

Please sign in to comment.