Skip to content

Commit

Permalink
fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuselli committed Dec 12, 2023
1 parent 85bc3d6 commit c65ac4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions amstrax/plugins/raw_records/daqreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def compute(self, chunk_i):
# Convert to strax chunks
result = dict()
for i, subd in enumerate(channel_ranges):

if len(result_arrays[i]):
# dt may differ per subdetector
dt = result_arrays[i]['dt'][0]
Expand Down Expand Up @@ -403,8 +403,8 @@ def split_channel_ranges(records, channel_ranges):
which_detector[r_i] = d_i
n_in_detector[d_i] += 1
break
else:
raise ValueError(f"Bad data from DAQ: data in unknown channel {r['channel']}")
else:
raise ValueError(f"Bad data from DAQ: data in unknown channel {r['channel']}")

# Allocate memory
results = numba.typed.List()
Expand Down

0 comments on commit c65ac4e

Please sign in to comment.