You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
i'm not sure whether this is expected or not, but when reading lazily from a tree, and thus operating with ChunkedArrays I can't seem to create ObjectArrays
rather than the above, it seems like the __repr_ method is broken for object arrays created from chunked arrays
Also, I noticed that .choose(n) seems to behave differently depending on whether the ObjectArray was created from ChunkedArrays vs JaggedArrays. Is this expected?
The text was updated successfully, but these errors were encountered:
lukasheinrich
changed the title
question: cannot create object array from ChunkedArrays
broken __repr__ on ObjectArrays from ChunkedArrays and inconsistent behavior of choose()
Aug 12, 2019
It's likely that TLorentzVectorArray.from_ptetaphim is naive about array structures other than JaggedArray. That's my first guess. I don't think it's __repr__ that's failing here—I think it might be building the wrong structure. You can look at it with .layout() to see what it's actually built.
i'm not sure whether this is expected or not, but when reading lazily from a tree, and thus operating with ChunkedArrays I can't seem to create ObjectArraysrather than the above, it seems like the
__repr_
method is broken for object arrays created from chunked arraysAlso, I noticed that
.choose(n)
seems to behave differently depending on whether the ObjectArray was created from ChunkedArrays vs JaggedArrays. Is this expected?The text was updated successfully, but these errors were encountered: