Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
zbilodea committed Jul 2, 2024
1 parent 9147242 commit 2630830
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hepconvert/root_to_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import awkward as ak
import uproot
from numpy import union1d


def root_to_parquet(
Expand Down Expand Up @@ -261,8 +262,6 @@ def _filter_branches(tree, keep_branches, drop_branches):
msg = "Can specify either drop_branches or keep_branches, not both."
raise ValueError(msg) from None
keys = []
from numpy import union1d

if drop_branches:
if isinstance(drop_branches, str):
keys = tree.keys(filter_name=drop_branches)
Expand Down

0 comments on commit 2630830

Please sign in to comment.