Open ioanaif opened 1 year ago
I looked into this error and attempted to fix it. I didn’t find the fix, but I did isolate where the issue is coming from. Thus, I will write here my findings.
The problem is in writable.py
:
If we only have L1333, i.e. uproot.models.TTree.Model_TTree_v20
in the list of models, then the Map() issue disappears.
Thus, the issue comes from some of the streamers in TLeaf
and TBranch
. In each TLeaf
type the issue goes away if we comment out this part:
Where _rawstreamer_TLeaf_v2
is defined here:
As for TBranch
, the issue is fixed when commenting out lines 562 to 568:
An issue was introduced in between uproot 4.1.1 and 4.1.5, where ROOT .Map() shows errors for any TTrees with TBaskets (where the TBaskets can be empty or not).