From 5662e2b0de844f857509880d03cf2342351a0a67 Mon Sep 17 00:00:00 2001 From: Lukas Berbuer Date: Mon, 22 Jul 2024 11:27:28 +0200 Subject: [PATCH] fix: write hit with status --- src/vallenae/io/pridb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vallenae/io/pridb.py b/src/vallenae/io/pridb.py index 5b56308..9853df0 100644 --- a/src/vallenae/io/pridb.py +++ b/src/vallenae/io/pridb.py @@ -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"])