Cleaned up store and removed unused FoV setting

This commit is contained in:
Joel Collins 2020-11-22 16:52:30 +00:00
parent f187a3a00d
commit a1ae94792e
13 changed files with 42 additions and 119 deletions

View file

@ -37,8 +37,6 @@ class Microscope:
self.captures = CaptureManager()
self.fov = [0, 0] #: Microscope field-of-view in stage motor steps
# Store settings and configuration files
self.settings_file = settings
self.configuration_file = configuration
@ -217,8 +215,6 @@ class Microscope:
self.id = settings.pop("id")
if "name" in settings:
self.name = settings.pop("name")
if "fov" in settings:
self.fov = settings.pop("fov")
# Extension settings
if "extensions" in settings:
@ -241,7 +237,6 @@ class Microscope:
settings_current = {
"id": self.id,
"name": self.name,
"fov": self.fov,
"extensions": self.extension_settings,
}