biopragmatics / bioregistry

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

Implement rewiring #977

Closed cthoyt closed 10 months ago

cthoyt commented 10 months ago

Closes #976

Fixes a bug where the rewiring configuration from a prescriptive context wasn't used. For the OBO context, this is applicable for PMID. Now, there are explicit tests about this too.

CC @matentzn, but no action needed

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files Coverage Δ
src/bioregistry/record_accumulator.py 91.61% <100.00%> (+0.10%) :arrow_up:
src/bioregistry/resource_manager.py 75.23% <100.00%> (-0.24%) :arrow_down:

... and 12 files with indirect coverage changes

:loudspeaker: Thoughts on this report? Let us know!.