Skip to content

Commit

Permalink
fix: write hit with status
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasberbuer committed Jul 22, 2024
1 parent 9ece42d commit 5662e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vallenae/io/pridb.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def write_hit(self, hit: HitRecord):
"SetType": 2,
"Time": int(hit.time * self._timebase),
"Chan": int(hit.channel),
"Status": 0,
"Status": hit.status,
"ParamID": int(hit.param_id),
"Thr": (
int(hit.threshold * 1e6 / parameter["ADC_µV"])
Expand Down

0 comments on commit 5662e2b

Please sign in to comment.