From 2535830fb942034a9f3feaf683e9c765f707fd5f Mon Sep 17 00:00:00 2001 From: Brandon Date: Tue, 3 Oct 2023 12:25:27 -0700 Subject: [PATCH] fix channel check in hardware calcs for scape --- .../lightsheetmanager/model/acquisitions/AcquisitionEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/micromanager/lightsheetmanager/model/acquisitions/AcquisitionEngine.java b/src/main/java/org/micromanager/lightsheetmanager/model/acquisitions/AcquisitionEngine.java index e00e161..b623e38 100644 --- a/src/main/java/org/micromanager/lightsheetmanager/model/acquisitions/AcquisitionEngine.java +++ b/src/main/java/org/micromanager/lightsheetmanager/model/acquisitions/AcquisitionEngine.java @@ -797,7 +797,7 @@ private boolean doHardwareCalculationsSCAPE(PLogicDISPIM plc) { boolean changeChannelPerVolumeSoftware = false; boolean changeChannelPerVolumeDoneFirst = false; if (acqSettings_.isUsingChannels()) { - if (asb_.numChannels() > 1) { + if (asb_.numChannels() == 0) { studio_.logs().showError("\"Channels\" is checked, but no channels are selected"); return false; // early exit }