microscope-cockpit / cockpit

Cockpit is a microscope graphical user interface. It is a flexible and easy to extend platform aimed at life scientists using bespoke microscopes.
https://microscope-cockpit.org
GNU General Public License v3.0
37 stars 27 forks source link

Cannot start Cockpit due to check #814

Closed thomasmfish closed 2 years ago

thomasmfish commented 2 years ago

I got the error 'NoneType' object has no attribute 'wavelength' when starting cockpit due to the check if self.power.wavelength == None when self.power is None. This is from the most recent commit.

I've suggested a PR, since it's a small fix.

carandraug commented 2 years ago

Closing as duplicated of issue #700.

carandraug commented 2 years ago

I was too quick, it's not really duplicated but it is related. I'm reopening.

iandobbie commented 2 years ago

I think this is covered by the fix for #700 and pr #811