Make Q1D2 fail, if non-positive PixelAdj is unmasked re #4321
Also add unit test for this.
Firstly require failure, if two pixels with PixelAdj values of 0 and -1, have unmasked detectors.
Secondly require success if those two detectors are masked.
A test for all PixelAdj values positive already exists.
Signed-off-by:
Karl Palmen <karl.palmen@stfc.ac.uk>
Showing
- Code/Mantid/Framework/Algorithms/src/Qhelper.cpp 21 additions, 2 deletionsCode/Mantid/Framework/Algorithms/src/Qhelper.cpp
- Code/Mantid/Framework/Algorithms/test/Q1D2Test.h 64 additions, 8 deletionsCode/Mantid/Framework/Algorithms/test/Q1D2Test.h
- Code/Mantid/Framework/Geometry/src/Objects/Object.cpp 4 additions, 1 deletionCode/Mantid/Framework/Geometry/src/Objects/Object.cpp
Loading
Please register or sign in to comment