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 Jun 21, 2022. It is now read-only.
Some function calls seem to be failing in the master branch -
>>> f = uproot.recreate("tmp.root")
>>> f["name"] = numpy.histogram(numpy.random.normal(0, 1, 100000))
>>> f["name"].show()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pratyush/dev/uproot/uproot/write/TFile.py", line 181, in __getitem__
return self._reopen()[where]
File "/home/pratyush/dev/uproot/uproot/write/TFile.py", line 113, in _reopen
return uproot.open(self._path, localsource=uproot.source.file.FileSource.defaults)
File "/home/pratyush/dev/uproot/uproot/rootio.py", line 69, in open
kwargs = dict(MemmapSource.defaults)
TypeError: 'function' object is not iterable
It is not a file writing issue - I read it back in ROOT.
I tried showstreamers() as well and it gave the same error.
The text was updated successfully, but these errors were encountered:
Some time ago, I changed MemmapSource.defaults (and all other .defaults) from being functions to being dicts. Oh— maybe the equivalent code in uproot.write.TFile.append has not been updated?
Some function calls seem to be failing in the master branch -
It is not a file writing issue - I read it back in ROOT.
I tried showstreamers() as well and it gave the same error.
The text was updated successfully, but these errors were encountered: