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

Add version keyword to all lookup functions #184

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Add version keyword to all lookup functions #184

merged 2 commits into from
Apr 18, 2024

Conversation

cthoyt
Copy link
Member

@cthoyt cthoyt commented Apr 18, 2024

Closes #183

I confirmed that the following code snippet works with internet disconnected. On my system , I had both MeSH 2023 and 2024 cached.

>>> import pyobo
>>> pyobo.get_name_by_curie('mesh:C039725', version='2023')
'Corynebacterium parvum vaccine'

@cthoyt cthoyt merged commit 4c09578 into main Apr 18, 2024
8 checks passed
@cthoyt cthoyt deleted the lookup-versions branch April 18, 2024 15:52
@kkaris
Copy link
Contributor

kkaris commented Apr 18, 2024

🚀

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.

Providing explicit version for pyobo.get_name_by_curie still calls bioversions.get_version
2 participants