Separated updating/writing from saving config
This commit is contained in:
parent
8087e4d445
commit
e9d74c07e6
5 changed files with 27 additions and 21 deletions
|
|
@ -52,6 +52,7 @@ class Plugin(MicroscopePlugin):
|
|||
recalibrate_camera(scamera.camera)
|
||||
finally:
|
||||
scamera.camera.resolution=old_resolution
|
||||
self.
|
||||
if streaming:
|
||||
logging.info("Restarting stream after recalibration")
|
||||
scamera.start_stream_recording()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue