Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 9, 2025
1 parent 2c9c29f commit 5c92667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build_bus_regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def get_gadm_shape(
# drop isolated buses
onshore_regions = onshore_regions[~onshore_regions.name.isin(isolated_buses)]
# drop duplicates based on shape_id
onshore_regions = onshore_regions.drop_duplicates('shape_id')
onshore_regions = onshore_regions.drop_duplicates("shape_id")

if len(onshore_regions) < len(gadm_country):
logger.error(
Expand Down

0 comments on commit 5c92667

Please sign in to comment.