From c6a4cf0e8b6c4bd72f98a2809804c37e3d69b6fa Mon Sep 17 00:00:00 2001 From: GotthardG <51994228+GotthardG@users.noreply.github.com> Date: Tue, 17 Jun 2025 14:13:46 +0200 Subject: [PATCH] Refactor TELL integration and update dependencies. Replaced direct puck management logic with a WebSocket-based system for real-time updates from TELL. Introduced `tellupdater.py` to handle updates and improved AareDB client usage for cleaner API interactions. Updated `pyproject.toml` files to include dependency changes, ensuring compatibility with new TELL workflows. --- daq/src/aaredaq/tellupdater.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/daq/src/aaredaq/tellupdater.py b/daq/src/aaredaq/tellupdater.py index 3c64d5d6..5d712ce5 100644 --- a/daq/src/aaredaq/tellupdater.py +++ b/daq/src/aaredaq/tellupdater.py @@ -59,16 +59,6 @@ def timer_update_pucks_beamline(): detected_pucks = tell_client.get_detected_pucks() aare_db.set_pucks_beamline(detected_pucks) - # Convert to list[PuckWithTellPosition] - pwtp_list = convert_pucks(detected_pucks) - - # Only send if state changed - if not pucks_equal(pwtp_list, last_pucks_sent): - tell_client.set_samples_info(pwtp_list) - last_pucks_sent = pwtp_list - else: - print("[TIMER] No puck state change, not sending to TELL.") - except Exception as exc: print(f"[ERROR][Timer] {exc}")