Skip to content

Conversation

@yarikoptic
Copy link
Member

@yarikoptic yarikoptic commented Dec 15, 2025

TODOs

@yarikoptic yarikoptic added the patch Increment the patch version when merged label Dec 15, 2025
@yarikoptic yarikoptic marked this pull request as draft December 15, 2025 23:16
@codecov
Copy link

codecov bot commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.08%. Comparing base (78b7700) to head (5984426).
⚠️ Report is 5 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1772   +/-   ##
=======================================
  Coverage   75.07%   75.08%           
=======================================
  Files          84       84           
  Lines       11910    11910           
=======================================
+ Hits         8942     8943    +1     
+ Misses       2968     2967    -1     
Flag Coverage Δ
unittests 75.08% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…DF representation on Ontobee

obolibrary changed the redirection target of a PURLs
identifying an entity on NCBITaxon from an RDF
representation on Ontobee to an HTML representation
on the NIH official site as of
OBOFoundry/purl.obolibrary.org#1066.
Our logic requires the representations to be RDF, so
we are redirecting the affected PURLs to the
corresponding RDF representation manually.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies the parse_purlobourl function to use a different endpoint when fetching RDF content for NCBITaxon URLs from Ontobee. Instead of directly requesting the purl.obolibrary.org URL, the code now constructs a specific RDF endpoint URL for NCBITaxon ontology entries.

Key changes:

  • Added conditional logic to detect NCBITaxon URLs and route them to the Ontobee RDF renderer endpoint
  • Non-NCBITaxon URLs continue to use the original direct request approach

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@candleindark
Copy link
Member

@yarikoptic I can't request a review from you because you opened this PR. Please take a look.

I modified the solution so that the value of url is not change since it should always point to the PURL on obo.

@yarikoptic yarikoptic merged commit 07548d3 into master Dec 16, 2025
47 checks passed
@yarikoptic yarikoptic deleted the bf-obo branch December 16, 2025 20:05
@github-actions
Copy link

🚀 PR was released in 0.74.0 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Increment the patch version when merged released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failures in tests with marker obolibrary

3 participants