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

Make getting obo context prefix map easier #501

Merged
merged 5 commits into from
Aug 14, 2022
Merged

Make getting obo context prefix map easier #501

merged 5 commits into from
Aug 14, 2022

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Aug 14, 2022

This PR exposes bioregistry.get_obo_context_prefix_map() for use in INCATools/ontology-access-kit#224.

@codecov-commenter
Copy link

codecov-commenter commented Aug 14, 2022

Codecov Report

Merging #501 (4f23b53) into main (3e6eabc) will decrease coverage by 0.15%.
The diff coverage is 61.76%.

@@            Coverage Diff             @@
##             main     #501      +/-   ##
==========================================
- Coverage   37.59%   37.44%   -0.16%     
==========================================
  Files         109      109              
  Lines        6057     6060       +3     
  Branches     1234     1234              
==========================================
- Hits         2277     2269       -8     
- Misses       3637     3651      +14     
+ Partials      143      140       -3     
Impacted Files Coverage Δ
src/bioregistry/__init__.py 100.00% <ø> (ø)
src/bioregistry/export/prefix_maps.py 0.00% <0.00%> (-43.55%) ⬇️
src/bioregistry/schema/struct.py 82.07% <50.00%> (-0.10%) ⬇️
src/bioregistry/collection_api.py 90.00% <66.66%> (-10.00%) ⬇️
src/bioregistry/resource_manager.py 80.78% <88.23%> (+1.55%) ⬆️
src/bioregistry/app/api.py 52.38% <100.00%> (-0.57%) ⬇️
src/bioregistry/resolve.py 63.40% <100.00%> (-0.12%) ⬇️
src/bioregistry/uri_format.py 85.71% <0.00%> (-7.15%) ⬇️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@cthoyt cthoyt marked this pull request as ready for review August 14, 2022 12:28
@cthoyt cthoyt merged commit 789b2b3 into main Aug 14, 2022
@cthoyt cthoyt deleted the obo-context branch August 14, 2022 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants