gitea workflows: updated pyproject toml dependencies, tellupdater updates and fix error in test_beamcenter_fit_no_contours
This commit is contained in:
1 parent
02cfbde470
commit
bef4193d8f
3 files changed
+18
-5
No files matched your search
@@ -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()
|
||||
Reference in new issue
Block a user