Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Adafede committed Nov 20, 2023
1 parent 291e3f0 commit 9c80743
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions update/download_taxonomy_parenting.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def run(root: Path, retry: int = 5) -> None:
else:
raise TimeoutError("Failed to download taxonomy step 1 tum tum tum....")

# TODO This part is sensitive to vandalism if someone introduces "," in taxon name.
# Could be let this way to force cleaning, or not.
list_of_couples = [x.strip().split(",") for x in t.split("\n")[1:] if x != ""]
taxon_direct_parents = {}
taxon_names = {}
Expand Down

0 comments on commit 9c80743

Please sign in to comment.