Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray authored Nov 29, 2023
1 parent 23a8f32 commit d664317
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/coffea/nanoevents/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,12 @@ def events(self):
"""Build events"""
if self._is_dask:
events = self._mapping(form_mapping=self._schema)
report = None
if isinstance(events, tuple):
events, report = events
events.behavior["__original_array__"] = lambda: events
if report is not None:
return events, report
return events

events = self._events()
Expand Down

0 comments on commit d664317

Please sign in to comment.