-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
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
classname_of gives Exception when used on TBranch #542
Comments
I hadn't thought of this as a potential use, but since " The difficulty is that the path-handling is a specialized implementation in uproot.ReadOnlyDirectory.key which would have to get generalized out to be able to use them in the other functions that take paths. Or maybe it just means that uproot.TBranch.HasBranches objects (i.e. TTree and all TBranch classes) should have a |
This feature request is still open, but I'm not going to attempt to get it in before the 5.0.0 release (next Monday). I'm just removing that label. |
Please consider the following source code
I would expect it to print "TBranch". However, it actually raises an exception:
AttributeError: 'Model_TTree_v20' object has no attribute 'key'
.Uproot version: 4.1.9
The text was updated successfully, but these errors were encountered: