jfjoch_action_test: Improve output clarity
This commit is contained in:
@@ -106,13 +106,13 @@ bool TestImagePusher::CheckImage(const DiffractionExperiment &x, const std::vect
|
||||
decompressed_image.data(),
|
||||
storage_cell);
|
||||
if (x.GetBinning2x2() && (result > 1.5)) {
|
||||
logger.Error("Mean conversion error ({}) larger than threshold", result);
|
||||
logger.Error("Mean conversion error ({:.3f}) larger than threshold", result);
|
||||
no_errors = false;
|
||||
} else if (!x.GetBinning2x2() && (result > 0.5)) {
|
||||
logger.Error("Mean conversion error ({}) larger than threshold", result);
|
||||
logger.Error("Mean conversion error ({:.3f}) larger than threshold", result);
|
||||
no_errors = false;
|
||||
} else
|
||||
logger.Info("Mean conversion error: {}", result);
|
||||
logger.Info("Mean conversion error: {:.3f}", result);
|
||||
} else if (x.GetDetectorMode() == DetectorMode::Raw) {
|
||||
if (memcmp(raw_reference_image.data(), decompressed_image.data(), sizeof(uint16_t) * x.GetPixelsNum()) !=
|
||||
0) {
|
||||
|
||||
Reference in New Issue
Block a user