-
Notifications
You must be signed in to change notification settings - Fork 84
feat: Add custom interpretation API #1434
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
base: main
Are you sure you want to change the base?
feat: Add custom interpretation API #1434
Conversation
Here is the link to the discussion: #1424 |
Hi, I think embedding the whole custom-class reading mechanism is too complicated and may make things a mess, so I created a standalone repository named I removed the design docs of custom-class reading mechanism (so-call Please let me know if anything I can help or improve, both for this MR and |
And I have no idea why the docs build failed.... |
Also, thanks for the updates! I'll look at this when I have some time. When you get a chance could you add a test so that we have a concrete usage example and we see if it actually works? Thanks! |
Yes, I moved the import statement, and improved the test in |
This is an idea/design of making
uproot
able to read custom classes, also allowing users to customize the reading process inuproot
.A summary of the design is:
AsCustom
, whichReader
for converting custom classes toawkward
arrays.The full description is in
dev/custom-interpretation/README.md
.Since I have limited understanding and experience on either ROOT streaming or interface design, it would be grateful if any suggestion or help is provided😄