Skip to content

Commit

Permalink
Merge branch 'master' into dev-physlite-fix1d
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray authored Sep 6, 2023
2 parents adbdf1d + 583bc1a commit 50256e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/coffea/nanoevents/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def from_root(
treepath="/Events",
entry_start=None,
entry_stop=None,
chunks_per_file=1,
chunks_per_file=uproot._util.unset,
runtime_cache=None,
persistent_cache=None,
schemaclass=NanoAODSchema,
Expand Down Expand Up @@ -268,7 +268,7 @@ def from_root(
metadata : dict, optional
Arbitrary metadata to add to the `base.NanoEvents` object
uproot_options : dict, optional
Any options to pass to ``uproot.open``
Any options to pass to ``uproot.open`` or ``uproot.dask``
access_log : list, optional
Pass a list instance to record which branches were lazily accessed by this instance
use_ak_forth:
Expand Down Expand Up @@ -326,6 +326,7 @@ def from_root(
ak_add_doc=True,
filter_branch=_remove_not_interpretable,
steps_per_file=chunks_per_file,
**uproot_options,
)
else:
opener = partial(
Expand All @@ -336,6 +337,7 @@ def from_root(
ak_add_doc=True,
filter_branch=_remove_not_interpretable,
steps_per_file=chunks_per_file,
**uproot_options,
)
return cls(map_schema, opener, None, cache=None, is_dask=True)
elif permit_dask and not schemaclass.__dask_capable__:
Expand Down

0 comments on commit 50256e2

Please sign in to comment.