8000 Fix curie presenation and linkout by kkaris · Pull Request #154 · gyorilab/gilda · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix curie presenation and linkout #154

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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

kkaris
Copy link
Contributor
@kkaris kkaris commented May 7, 2025

This PR updates the URL generation and curie presentation:

  • Generated URLs are now pointing to bioregistry.io rather than identifiers.org.
  • Curies are now all lowercase for the namespace.

@bgyori
Copy link
Member
bgyori commented May 12, 2025

Thanks @kkaris this is great. Two more things:

  • Some tests that use CURIEs still need to be fixed
  • Please do a review of where, if at all, Gilda-produced CURIEs are used downstream (in INDRA, various Biopragmatics packages, etc.) and check if the change in CURIE style will break something. Alternatively, we can keep the CURIEs as is and just update the base URL in this PR.

@kkaris kkaris force-pushed the fix-curie-presenation branch from e49bbb4 to 2899f5f Compare May 19, 2025 20:51
@kkaris
Copy link
Contributor Author
kkaris commented May 19, 2025

Tests are fixed and I opted to restore the original functions get_identifiers_curie and get_identifiers_url, but add in warnings that these functions are deprecated in favor of get_curie and get_url, respectively.

For the method Term.get_curie, it now uses the newer get_curie instead of get_identifiers_curie. In practice, the only thing this does is to return all curies with lower case database names.

I also went over most of the dependents in the dependency graph for Gilda, including our packages, to see if anyone might rely on Term.get_curie in a way that would be affected by this PR and I could only find one example so far that I've taken care of already.

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
0