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 Dec 6, 2023
1 parent 1f3ffda commit 03d877a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions graph_weather/models/graphs/ico.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def generate_icosphere_graph(resolution=1):
return vertices, edges


def generate_icosphere_mapping(lat_lons, resolutions=(1,2,3,4,5,6,7)):
def generate_icosphere_mapping(lat_lons, resolutions=(1, 2, 3, 4, 5, 6, 7)):
"""
Generate mapping from lat/lon to icosphere index.
Expand Down Expand Up @@ -327,7 +327,6 @@ def generate_icosphere_mapping(lat_lons, resolutions=(1,2,3,4,5,6,7)):
# TODO Create Data object where there is a minimal amount of verticies (the overlapping ones are the same)
# TODO Create mapping from the lat/lon to the icosphere nodes


return h3_mapping, h3_distances


Expand Down

0 comments on commit 03d877a

Please sign in to comment.