Skip to content

Commit

Permalink
fix syntaxe warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Feb 1, 2024
1 parent 461e6bb commit 58be0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion map-of-activities.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_original_data(layer):
df["dataset_id"] = datasetid
df["short_name"] = meta["url"].split("=")[-1]
df["short_name_group"] = (
df["short_name"].replace("\d", "", regex=True).str.rstrip("_")
df["short_name"].replace(r"\d", "", regex=True).str.rstrip("_")
)
df["url"] = meta["url"].replace(
"https://www1.usgs.gov/obis-usa/ipt", "https://ipt-obis.gbif.us"
Expand Down

0 comments on commit 58be0e6

Please sign in to comment.