From 9ecc3ceeac4bb79c4b650543caad280cfda09dc5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:14:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/coffea/nanoevents/factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coffea/nanoevents/factory.py b/src/coffea/nanoevents/factory.py index 2118a9231..66e5f219d 100644 --- a/src/coffea/nanoevents/factory.py +++ b/src/coffea/nanoevents/factory.py @@ -377,7 +377,7 @@ def from_root( # should use uproot.num_entries instead... nentries = tree.num_entries if entry_stop is None or entry_stop > nentries: - entry_stop = nentries + entry_stop = nentries partition_key = ( str(tree.file.uuid),