Skip to content

uproot.iterate usage #1392

Answered by pfackeldey
bojohnson5 asked this question in Q&A
Feb 26, 2025 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Afaik, uproot implements the most common ROOT classes in python such that they can be interpreted. Custom classes do not necessarily have such an implementation in uproot and thus can't be understood.

This issue here arises because uproot.open doesn't read, it just opens the file, whereas uproot.iterate will also read.

@ianna can probably provide more details or correct me here.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bojohnson5
Comment options

Answer selected by bojohnson5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants