read subfiles with unordered and missing frames

This commit is contained in:
Bechir Braham
2024-04-22 18:15:02 +02:00
parent a4850892e0
commit 1177fd129d
6 changed files with 71 additions and 35 deletions

View File

@ -32,7 +32,7 @@ TEST_CASE("Read frame numbers from a jungfrau raw file") {
}
}
TEST_CASE("Read data from a jungfrau 500k single port raw file") {
TEST_CASE("Read data from a jungfrau 500k single port raw file", "[debug]") {
auto fpath = test_data_path() / "jungfrau" / "jungfrau_single_master_0.json";
REQUIRE(std::filesystem::exists(fpath));
@ -45,6 +45,7 @@ TEST_CASE("Read data from a jungfrau 500k single port raw file") {
CHECK(frame.rows() == 512);
CHECK(frame.cols() == 1024);
CHECK(frame.view<uint16_t>()(0, 0) == pixel_0_0[i]);
// frame.view<uint16_t>();
}
}