Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use standardized bioregistry dump #38

Merged
merged 1 commit into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use standardized bioregistry dump
This version has 380 ontologies instead of just a small number because of the way the data structure works.
  • Loading branch information
cthoyt authored Sep 27, 2023
commit 2224aed082312990a07c2ca34d453a0a5949a505
4 changes: 2 additions & 2 deletions archivo/crawling/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def get_prefix_cc_urls() -> Iterable[str]:


def get_bioregistry_urls() -> Iterable[str]:

resp_json = requests.get("https://bioregistry.io/api/registry?format=json").json()
url = "https://raw.githubusercontent.com/biopragmatics/bioregistry/main/exports/registry/registry.json"
resp_json = requests.get(url).json()

relevant_keys = ["download_rdf", "download_owl"]

Expand Down