mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 09:10:01 +02:00
fix test for eiger half module for gap pixels (#658)
This commit is contained in:
parent
d90bf6c7df
commit
572332f870
@ -524,8 +524,10 @@ TEST_CASE("gappixels", "[.cmd]") {
|
|||||||
Detector det;
|
Detector det;
|
||||||
CmdProxy proxy(&det);
|
CmdProxy proxy(&det);
|
||||||
auto det_type = det.getDetectorType().squash();
|
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();
|
auto prev_val = det.getGapPixelsinCallback();
|
||||||
{
|
{
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user