diff --git a/slsDetectorSoftware/tests/test-CmdProxy.cpp b/slsDetectorSoftware/tests/test-CmdProxy.cpp index eef9abeac..5e1067e9d 100644 --- a/slsDetectorSoftware/tests/test-CmdProxy.cpp +++ b/slsDetectorSoftware/tests/test-CmdProxy.cpp @@ -524,8 +524,10 @@ TEST_CASE("gappixels", "[.cmd]") { Detector det; CmdProxy proxy(&det); auto det_type = det.getDetectorType().squash(); + bool quad = det.getQuad().squash(false); + bool fullModule = (det.getModuleGeometry().y % 2 == 0); - if (det_type == defs::JUNGFRAU || det_type == defs::EIGER) { + if (det_type == defs::JUNGFRAU || (det_type == defs::EIGER && (quad || fullModule))) { auto prev_val = det.getGapPixelsinCallback(); { std::ostringstream oss;