Skip to content

Reading a std::vector<struct> inside another std::vector<struct> #549

Answered by jpivarski
asnaylor asked this question in Q&A
Discussion options

You must be logged in to vote

As is intended by the NotImplementedError message, this is an unsolved problem. It's not just a matter of Uproot failing to recognize the interpretation, in which case I could give you a hand-constructed Interpretation that you could apply. It's that we don't have any algorithms written in Python that will deserialize data in that form. (Also, it's not just the fact that two structs and a std::vector are nested: ROOT can serialize such objects without the "memberwise" option being turned on, and Uproot can read that data. It's this "memberwise" switch that we haven't figured out.)

Here's the central issue on the problem: #38

Here is a first step, in which @kratsg has implemented part of it:

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@asnaylor
Comment options

@jpivarski
Comment options

@kratsg
Comment options

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