We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9f7b0a commit 8f85bd6Copy full SHA for 8f85bd6
1 file changed
src/murfey/server/api/instrument.py
@@ -162,8 +162,12 @@ async def setup_multigrid_watcher(
162
session = db.exec(select(Session).where(Session.id == session_id)).one()
163
visit = session.visit
164
async with aiohttp.ClientSession() as clientsession:
165
- acquisition_uuid = None
166
- if SMARTEM_ACTIVE and machine_config.smartem_api_url:
+ acquisition_uuid = session.smartem_acquisition_uuid
+ if (
167
+ SMARTEM_ACTIVE
168
+ and machine_config.smartem_api_url
169
+ and acquisition_uuid is None
170
+ ):
171
log.info("registering an acquisition with smartem")
172
try:
173
microscope_data = MicroscopeData(instrument_id=instrument_name)
0 commit comments