From 6a6287755df557626c009e9b3a966618bcdc8173 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 15 Oct 2025 13:25:58 +0200 Subject: [PATCH] removed n_frames_received as it's not used --- dap/accumulator.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/dap/accumulator.py b/dap/accumulator.py index ab48119..d4e26ba 100644 --- a/dap/accumulator.py +++ b/dap/accumulator.py @@ -24,15 +24,12 @@ def accumulate(accumulator_host, accumulator_port): output = FileHandler() - n_frames_received = 0 - while True: if not zmq_socks.has_data(): output.flush() # may be too intensive continue results = zmq_socks.get_data() - n_frames_received += 1 detector = results.get("detector_name", "") pulse_id = results.get("pulse_id", 0)