biopragmatics / bioregistry

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

Reimplement CURIE prefix reconciliation for prescriptive contexts #975

Closed cthoyt closed 10 months ago

cthoyt commented 10 months ago

This now uses the curies.remap_curie_prefixes functionality, which is better tested and more flexible.

cthoyt commented 10 months ago

cc @matentzn this PR slightly changes the OBO EPM to retain the previous prefix during reconciliation, but this shouldn't have any effect other than to enable better standardization

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.51% <100.00%> (+0.10%) :arrow_up:

... and 1 file with indirect coverage changes

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