Skip to content

Commit 340fe8f

Browse files
committed
Reverted unexpected change to how analysers are disabled in 'start_multigrid_watcher' in 'murfey.instrument_server.api'
1 parent da5a7ab commit 340fe8f

File tree

1 file changed

+1
-3
lines changed
  • src/murfey/instrument_server

1 file changed

+1
-3
lines changed

src/murfey/instrument_server/api.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,7 @@ def start_multigrid_watcher(session_id: MurfeySessionID, process: bool = True):
191191
if watchers.get(session_id) is None:
192192
return {"success": False}
193193
if not process:
194-
watchers[session_id]._listeners = [
195-
partial(watchers[session_id]._listeners[0], analyse=False)
196-
]
194+
watchers[session_id]._analyse = False
197195
watchers[session_id].start()
198196
return {"success": True}
199197

0 commit comments

Comments
 (0)