Open fletchapin opened 3 years ago
After investigation, the preferences file was missing the Type
field under Microscope
. The correct structure is:
Microscope:
Name: ZSD_01
Type: SpinningDisk_Zeiss
To fix this, we should emulate the VALID_TAG
model used in microscope_automation.microscope_automation
for hardware preferences and prompt the user to select from a dropdown to correct an invalid field.
The error message on line 251 of setup_microscope
can also be improved to say something like Microscope Type field is invalid
instead of the generic Microscope not defined in module hardware_control.py
[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of microscope_automation.
Description
microscop_automation.microscope_automation
callssetup_microscope
, and when using the ZEN Blue Dummy it fails with aHardwareDoesNotExistError
Expected Behavior
More investigation is needed to determine if this error is expected.
Reproduction
Environment
Windows 10 with
microscope_automation v0.0.1