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.
This commit is contained in:
@@ -15,8 +15,8 @@ WS_HEADERS = [f"X-Shared-Password: {os.getenv('AAREDB_SHARED_PASSWORD')}"]
|
||||
POLL_INTERVAL = 30 # seconds
|
||||
|
||||
# Initialize TELL client and DB wrapper
|
||||
tell_client = TellClient()
|
||||
beamline = MXBeamline.X06DA # Use your beamline enum/value
|
||||
tell_client = TellClient(bl=beamline)
|
||||
aare_db = AareWrapper(bl=beamline)
|
||||
|
||||
# Track current state
|
||||
|
||||
Reference in New Issue
Block a user