biopragmatics / bioregistry

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

Fix Pydantic models for health report #1057

Closed cthoyt closed 3 months ago

cthoyt commented 3 months ago

This PR fixes an issue where old runs in the Bioregistry health report didn't validate against the current pydantic model. I wrote a script that calculated the missing data and also made "delta" optional since the first item on the list will never have a delta. It also re-runs the health report

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 40.43%. Comparing base (7095608) to head (a09bbd1). Report is 3 commits behind head on main.

Files Patch % Lines
src/bioregistry/health/check_providers.py 0.00% 8 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1057 +/- ## ======================================= Coverage 40.43% 40.43% ======================================= Files 149 149 Lines 8273 8273 Branches 1916 1916 ======================================= Hits 3345 3345 Misses 4719 4719 Partials 209 209 ```

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