Skip to content

Integration with Uproot #46

Open
dbizdfvy wants to merge 13 commits into
nsmith-:mainfrom
dbizdfvy:uproot-integration
Open

Integration with Uproot #46
dbizdfvy wants to merge 13 commits into
nsmith-:mainfrom
dbizdfvy:uproot-integration

Conversation

@dbizdfvy

Copy link
Copy Markdown
Collaborator

No description provided.

@ariostas

ariostas commented Feb 5, 2026

Copy link
Copy Markdown

@nsmith- do you think this PR is in a relatively good state to be merged? I can take care of cleaning up and resolving conflicts.

I want to start thinking of integrating with Uproot so that Samantha and I don't keep working in parallel on RNTuple stuff. Since things were not quite finished last summer, my plan is to start using rootfilespec for RNTuple and simple classes, and then over time move things over until everything is delegated here.

@nsmith-

nsmith- commented Feb 6, 2026

Copy link
Copy Markdown
Owner

Yes after some merge conflict cleanup. I will try to do that soon

@codecov-commenter

codecov-commenter commented Feb 9, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0.96154% with 103 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.00%. Comparing base (01a8861) to head (4a3e6b7).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/rootfilespec/bootstrap/uproot.py 0.00% 102 Missing ⚠️
src/rootfilespec/bootstrap/TList.py 50.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
- Coverage   91.32%   88.00%   -3.33%     
==========================================
  Files          36       37       +1     
  Lines        2722     2826     +104     
==========================================
+ Hits         2486     2487       +1     
- Misses        236      339     +103     

☔ 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.

@nsmith- nsmith- left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Note: this goes along with scikit-hep/uproot5#1474
Some patching will need to be done on that side as well.

if isinstance(value, TString):
return value.fString.decode("utf-8")

adapter_cls = create_adapter_class(type(value))

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

In this context, type(value) is a rootfilespec type but create_adapter_class expects the uproot model. We need instead to find the appropriate class type of a member in uproot and then use that to wrap the rootfilespec type.

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.

4 participants