Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tdixon97 committed May 5, 2024
1 parent 74cb5a5 commit e7083a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pygama/evt/modules/xtalk.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def build_energy_array(
file = datainfo._asdict()[tier].file
if (name, file, group, column) not in tier_params:
tier_params.append((name, file, group, column))


# initialise the output object
energies_out = np.full((np.max(tcm.idx) + 1, len(rawids)), np.nan)
Expand Down Expand Up @@ -156,7 +155,7 @@ def filter_hits(

for name, file, group, column in tier_params:
keys = ls(file)

try:
# read the energy data
if f"ch{channel}" in keys:
Expand Down

0 comments on commit e7083a7

Please sign in to comment.