Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self._tree.numentries, entrystart, entrystop
)
self._keyprefix = "/".join(
[
file._context.uuid.hex(),
treename,
str(self._entrystart),
str(self._entrystop),
]
)
NanoEventsFactory._active[self._keyprefix] = self
if cache is None:
cache = awkward1.layout.ArrayCache({})
else:
cache = awkward1.layout.ArrayCache(cache)
self._cache = cache
self._mixin_map = {}
self._mixin_map.update(self.default_mixins)
if mixin_map is not None:
self._mixin_map.update(mixin_map)
self._metadata = metadata # TODO: JSON only?
self._branches_read = set()
self._collections = None
self._tree = file[treename]
self._entrystart, self._entrystop = uproot.tree._normalize_entrystartstop(
self._tree.numentries, entrystart, entrystop
)
self._keyprefix = "/".join(
[
file._context.uuid.hex(),
treename,
str(self._entrystart),
str(self._entrystop),
]
)
NanoEventsFactory._active[self._keyprefix] = self
if cache is None:
cache = awkward1.layout.ArrayCache({})
else:
cache = awkward1.layout.ArrayCache(cache)
self._cache = cache
self._mixin_map = {}
self._mixin_map.update(self.default_mixins)
if mixin_map is not None:
self._mixin_map.update(mixin_map)
self._metadata = metadata # TODO: JSON only?
self._branches_read = set()
self._events = None
self._tree.numentries, entrystart, entrystop
)
self._keyprefix = "/".join(
[
file._context.uuid.hex(),
treename,
str(self._entrystart),
str(self._entrystop),
]
)
NanoEventsFactory._active[self._keyprefix] = self
if cache is None:
cache = awkward1.layout.ArrayCache({})
else:
cache = awkward1.layout.ArrayCache(cache)
self._cache = cache
self._mixin_map = {}
self._mixin_map.update(self.default_mixins)
if mixin_map is not None:
self._mixin_map.update(mixin_map)
self._metadata = metadata # TODO: JSON only?
self._branches_read = set()
self._events = None
self._tree = file[treename]
self._entrystart, self._entrystop = uproot.tree._normalize_entrystartstop(
self._tree.numentries, entrystart, entrystop
)
self._keyprefix = "/".join(
[
file._context.uuid.hex(),
treename,
str(self._entrystart),
str(self._entrystop),
]
)
NanoEventsFactory._active[self._keyprefix] = self
if cache is None:
cache = awkward1.layout.ArrayCache({})
else:
cache = awkward1.layout.ArrayCache(cache)
self._cache = cache
self._mixin_map = {}
self._mixin_map.update(self.default_mixins)
if mixin_map is not None:
self._mixin_map.update(mixin_map)
self._metadata = metadata # TODO: JSON only?
self._branches_read = set()
self._collections = None