Skip to content

Commit

Permalink
🙈
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Dec 3, 2024
1 parent 59619f7 commit 7a89919
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,6 @@ def bar_chart(gdf_name, rank, taxa, zoom, distinct_taxa = ""):
gdf = get_polygon(gdf_name, area_source, con)
url = compute_hexes(gdf, gdf_name, rank, taxa, zoom, distinct_taxa = distinct_taxa)
layer = HexagonLayer(url, v_scale)
digest = hashlib.md5(str(layer).encode()).hexdigest()
print(digest)

m = leafmap.Map(style=terrain_styling(), center=[-120, 37.6], zoom=2, pitch=35, bearing=10)
if gdf is not None:
Expand Down
1 change: 0 additions & 1 deletion utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ def unique_path(gdf_name, rank, taxa, zoom, distinct_taxa):
#gdf_hash = str(pd.util.hash_pandas_object(gdf).sum())
text = [gdf_name, rank, taxa, str(zoom), distinct_taxa]
sig = "-".join(text)
print(sig)
sig = hashlib.sha1(sig.encode()).hexdigest()
dest = "cache/gbif_" + sig + ".json"
return dest
Expand Down

0 comments on commit 7a89919

Please sign in to comment.