gitea workflows: updated pyproject toml dependencies, tellupdater updates and fix error in test_beamcenter_fit_no_contours
Build and Publish / test (push) Failing after 1m43s
Build and Publish / build (push) Has been skipped
Build and Publish / Build and Deploy Docs (push) Has been skipped

This commit is contained in:
appleb_m committed 2026-04-27 17:20:29 +02:00
1 parent 02cfbde470
commit bef4193d8f
3 files changed
+18 -5

No files matched your search

+6 -4
View File
@@ -15,6 +15,10 @@ from aare.common.beamline import MXBeamline, mx_beamline
logger = setup_logger("aareDAQ")
# Initialize TELL client and DB wrapper to None so they can be patched in tests
tell_client = None
aare_db = None
# Track current state
current_pucks = []
last_pucks_sent = []
@@ -196,6 +200,8 @@ def main():
if __name__ == "__main__":
# Configuration
tell_client = TellClient(bl=mx_beamline())
aare_db = AareWrapper(bl=mx_beamline())
beamline = mx_beamline()
SLOT_IDENTIFIER = beamline.value.upper()
@@ -205,8 +211,4 @@ if __name__ == "__main__":
WS_HEADERS = [f"X-Shared-Password: {os.getenv('AAREDB_SHARED_PASSWORD')}"]
print(WS_HEADERS)
# Initialize TELL client and DB wrapper
# Use your beamline enum/value
tell_client = TellClient(bl=beamline)
aare_db = AareWrapper(bl=beamline)
main()