biopragmatics / bioregistry

📮 An integrative registry of biological databases, ontologies, and nomenclatures.
https://bioregistry.io
MIT License
110 stars 48 forks source link

Fix Integbio downloader #1031

Closed cthoyt closed 6 months ago

cthoyt commented 6 months ago

It turns out that they delete their old dumps and post new ones with a different file name on each release, so this PR adds scraping functionality to get the current download URL.

codecov[bot] commented 6 months ago

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (d1cc4bc) 40.57% compared to head (1a2e52b) 40.54%.

Files Patch % Lines
src/bioregistry/external/integbio.py 23.07% 10 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1031 +/- ## ========================================== - Coverage 40.57% 40.54% -0.03% ========================================== Files 148 148 Lines 8226 8237 +11 Branches 1905 1907 +2 ========================================== + Hits 3338 3340 +2 - Misses 4680 4689 +9 Partials 208 208 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.