Skip to content

Commit

Permalink
fix autoexposure check bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ieivanov committed Feb 11, 2025
1 parent dbf215d commit ce1ffb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mantis/acquisition/acq_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,10 @@ def setup_autoexposure(self):
)
return

if self.ls_acq.autoexposure_settings.autoexposure_method == 'manual':
if (
any(self.ls_acq.channel_settings.use_autoexposure)
and self.ls_acq.autoexposure_settings.autoexposure_method == 'manual'
):
# Check that the 'illumination.csv' file exists
if not (self._root_dir / 'illumination.csv').exists():
raise FileNotFoundError(
Expand Down

0 comments on commit ce1ffb4

Please sign in to comment.