Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 19, 2023
1 parent 1b1f4b6 commit effa137
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_nanoevents.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,11 @@ def test_missing_eventIds_warning():
factory = NanoEventsFactory.from_root(path, schemaclass=NanoAODSchema)
events = factory.events()


def test_missing_eventIds_warning_dask():
path = os.path.abspath("tests/samples/missing_luminosityBlock.root") + ":Events"
NanoAODSchema.error_missing_event_ids = False
events = NanoEventsFactory.from_root(path, schemaclass=NanoAODSchema, permit_dask=True).events()
events = NanoEventsFactory.from_root(
path, schemaclass=NanoAODSchema, permit_dask=True
).events()
events.Muon.pt.compute(scheduler="processes")

0 comments on commit effa137

Please sign in to comment.