mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-27 06:31:19 +01:00
check frames for HDF5
This commit is contained in:
@@ -188,9 +188,11 @@ void create_files_for_acquire(
|
|||||||
|
|
||||||
// acquire and get num frames caught
|
// acquire and get num frames caught
|
||||||
test_acquire_with_receiver(caller, det);
|
test_acquire_with_receiver(caller, det);
|
||||||
frames_caught = det.getFramesCaught().tsquash(
|
if (check_num_frames) {
|
||||||
"Inconsistent number of frames caught")[0];
|
auto frames_caught = det.getFramesCaught().tsquash(
|
||||||
REQUIRE(frames_caught == num_frames);
|
"Inconsistent number of frames caught")[0];
|
||||||
|
REQUIRE(frames_caught == num_frames);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// restore previous state
|
// restore previous state
|
||||||
|
|||||||
Reference in New Issue
Block a user