Skip to content

Commit

Permalink
go back to using public touch_data since we have ak 2.4.2 now
Browse files Browse the repository at this point in the history
  • Loading branch information
nikoladze committed Sep 7, 2023
1 parent 36f9c06 commit 6abc42c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/coffea/nanoevents/methods/physlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ def _get_target_offsets(load_column, event_index):
# let the necessary column optimization know that we need to load this
# column to get the offsets
if awkward.backend(load_column) == "typetracer":
# awkward.typetracer.touch_data(load_column) # available in awkward > 2.3.3
load_column.layout._touch_data(recursive=True)
awkward.typetracer.touch_data(load_column)

# necessary to stick it into the `NumpyArray` constructor
# if typetracer is passed through
Expand Down

0 comments on commit 6abc42c

Please sign in to comment.