We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
StackOverflow
from_table()
I think this really is telling us that our type-based recursive construction/deconstruction is no godd:
julia> using UnROOT, AwkwardArray julia> df = LazyTree("/home/akako/.julia/dev/UnROOT/test/samples/RNTuple/Run2012BC_DoubleMuParked_Muons_rntuple_1000evts.root", "Events"); julia> ak = AwkwardArray.from_table(df); julia> ak[1] {_collection0: [{Muon_pt: ..., ...}, ...], Muon_pt: [...], Muon_eta: [...], ...}
julia> df = LazyTree("/home/akako/.julia/dev/UnROOT/test/samples/NanoAODv5_sample.root", "Events"); julia> ak = AwkwardArray.from_table(df); ... ROOT.Nojagg, Array{Bool, 1}}, UnROOT.LazyBranch{Bool, UnROOT.Nojagg, Array{Bool, 1}}, UnROOT.LazyBranch{Bool, UnROOT.Nojagg, Array{Bool, 1}}, UnROOT.LazyBranch{UInt8, UnROOT.Nojagg, Array{UInt8, 1}}, UnROOT.LazyBranch{Bool, UnROOT.Nojagg, Array{Bool, 1}}}}}) Encountered stack overflow. This might be caused by recursion over very long tuples or argument lists.
The text was updated successfully, but these errors were encountered:
Actually, the StackOverflow stems from this line:
AwkwardArray.jl/src/tables.jl
Line 17 in 1af9378
and if we replace NT -> NamedTuple it will work, at least for this particular NanoAOD LazyEvent.
NT
NamedTuple
LazyEvent
Sorry, something went wrong.
No branches or pull requests
I think this really is telling us that our type-based recursive construction/deconstruction is no godd:
works
doesn't work
The text was updated successfully, but these errors were encountered: