Closed lkorley closed 3 years ago
@reikdas, do you remember if flushsize
is a part of the final newtree
interface? Is that a hold-over from an old tutorial? I think it's not a meaningful option because the final API doesn't flush automatically, right? (To get 10 MB baskets, one has to call extend
with 10 MB arrays...)
@lkorley, I know that the proper thing to do is to document the final API, and file-writing doesn't have documentation right now. The next step is to port file-writing to Uproot 4 and fully document it in that version.
@reikdas, do you remember if flushsize is a part of the final newtree interface? Is that a hold-over from an old tutorial? I think it's not a meaningful option because the final API doesn't flush automatically, right? (To get 10 MB baskets, one has to call extend with 10 MB arrays...)
We had the flushsize
option for a while, but we dropped it later. The current version does not support it I think.
Ahh okay. Thanks
I am running into a TypeError when trying to set flushsize for calls to newtree. Running this using uproot 3.12.0 installed with pip Code that recreates the problem:
The error message: