Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
kyungeonchoi authored and BenGalewsky committed May 26, 2023
1 parent ea9143e commit 8adb9fc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def transform_single_file(file_path: str, output_path: Path, output_format: str)
else:
awkward_array = output
explode_records = bool(awkward_array.fields)
total_events = ak.num(awkward_array, axis=0)
try:
arrow = ak.to_arrow_table(awkward_array, explode_records=explode_records)
except TypeError:
Expand Down

0 comments on commit 8adb9fc

Please sign in to comment.