v1.0.0-rc.173 (#83)
Build Packages / Create release (push) Successful in 24s
Build Packages / build:viewer:macos-arm64:nocuda (push) Successful in 3m29s
Build Packages / build:rugnux:macos-arm64:nocuda (push) Successful in 2m43s
Build Packages / build:rugnux:linux-aarch64:cuda (push) Successful in 8m27s
Build Packages / build:rugnux:linux-x86_64:cuda (push) Successful in 9m53s
Build Packages / build:viewer:linux-x86_64:nocuda (push) Successful in 9m58s
Build Packages / build:viewer:linux-x86_64:cuda (push) Successful in 11m22s
Build Packages / build:jfjoch:rocky8:nocuda (push) Successful in 13m39s
Build Packages / build:viewer:windows-x86_64:nocuda (push) Successful in 18m37s
Build Packages / build:jfjoch:rocky9:nocuda (push) Successful in 16m32s
Build Packages / build:viewer:windows-x86_64:cuda (push) Successful in 24m11s
Build Packages / HDF5 consumer tests (DIALS, XDS) (push) Successful in 25m30s
Build Packages / build:jfjoch:ubuntu2404:nocuda (push) Successful in 19m3s
Build Packages / build:jfjoch:ubuntu2204:nocuda (push) Successful in 20m23s
Build Packages / build:jfjoch:rocky8:cuda-sls9 (push) Successful in 19m41s
Build Packages / Generate python client (push) Successful in 50s
Build Packages / Build documentation (push) Successful in 1m16s
Build Packages / build:jfjoch:rocky9:cuda-sls9 (push) Successful in 21m0s
Build Packages / build:jfjoch:rocky8:cuda (push) Successful in 18m38s
Build Packages / build:rugnux:windows-x86_64:cuda (push) Successful in 14m33s
Build Packages / build:jfjoch:rocky9:cuda (push) Successful in 17m55s
Build Packages / build:jfjoch:ubuntu2204:cuda (push) Successful in 20m50s
Build Packages / build:jfjoch:ubuntu2404:cuda (push) Successful in 18m38s
Build Packages / Unit tests (push) Successful in 1h46m14s

* jfjoch_broker: Optional per-dataset authentication - statistics, images and plots can require a bearer token, which jfjoch_viewer supports.
* jfjoch_viewer: Dark mode and a theme-matched colour scheme, a magnifier panel, and simpler contrast and background controls.
* Rugnux: Multiple performance improvements on GPU and CPU (CPU-only processing up to 40% faster, faster image decoding on ARM), with unchanged results.
* Rugnux: `--model` rigid-body refinement runs on the GPU, and the model-validation check is faster and more reliable.
* Rugnux: Improved scaling and merging - error model, outlier rejection, absorption correction and French-Wilson amplitudes now agree more closely with XDS and ctruncate.
* Rugnux: Improved integration - radial background on powder and ice rings, crowded rotation data keep their reflections, and CPU-only builds integrate large unit cells as GPU builds do.
* Rugnux: More robust detector geometry - measured beam centre, X-ray bandwidth and goniometer rate, and geometry refinement accepted only on significant evidence.
* Rugnux: Merged files are written in the standard setting, or in the setting of a reference MTZ, structure-factor mmCIF or model, with its free-R flags.
* Rugnux: Richer report - ice and powder rings, further lattices, superstructure candidates and mosaicity, with warnings worded as prompts to check.
* Rugnux: Clear error messages when a data set needs more GPU or host memory than is available.

Reviewed-on: #83
Co-authored-by: Filip Leonarski <filip.leonarski@psi.ch>
This commit was merged in pull request #83.
This commit is contained in:
leonarski_f authored and leonarski_f committed 2026-09-29 15:57:32 +02:00
1 parent 6dfe065365
commit 84228bf8be
452 files changed
+23762 -3779

No files matched your search

+219 -15
View File
@@ -608,7 +608,7 @@ TEST_CASE("JFJochReader_GridScan", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_DataI16", "[HDF5][Full]") {
TEST_CASE("JFJochReader_DataI16", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("test09").ImagesPerTrigger(4).OverwriteExistingFiles(true);
@@ -774,7 +774,7 @@ TEST_CASE("JFJochReader_DataI16_OldMasterFormat", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_DataU16", "[HDF5][Full]") {
TEST_CASE("JFJochReader_DataU16", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("test10").ImagesPerTrigger(4).OverwriteExistingFiles(true);
@@ -846,7 +846,7 @@ TEST_CASE("JFJochReader_DataU16", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_DataI32", "[HDF5][Full]") {
TEST_CASE("JFJochReader_DataI32", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("test11").ImagesPerTrigger(4).OverwriteExistingFiles(true);
@@ -913,7 +913,7 @@ TEST_CASE("JFJochReader_DataI32", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_DataU32", "[HDF5][Full]") {
TEST_CASE("JFJochReader_DataU32", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("test12").ImagesPerTrigger(4).OverwriteExistingFiles(true);
@@ -1786,7 +1786,7 @@ TEST_CASE("JFJochReader_NXmxIntegrated", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_GetRawImage_NXmxLegacy", "[HDF5][Full]") {
TEST_CASE("JFJochReader_GetRawImage_NXmxLegacy", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("test_read_raw_image").ImagesPerTrigger(4).OverwriteExistingFiles(true);
@@ -1906,7 +1906,7 @@ TEST_CASE("JFJochReader_GetRawImage_Concurrent", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_GetRawImage_VDS", "[HDF5][Full]") {
TEST_CASE("JFJochReader_GetRawImage_VDS", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("test_read_raw_image").ImagesPerTrigger(4).OverwriteExistingFiles(true);
@@ -1965,7 +1965,7 @@ TEST_CASE("JFJochReader_GetRawImage_VDS", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_GetRawImage_Integrated", "[HDF5][Full]") {
TEST_CASE("JFJochReader_GetRawImage_Integrated", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("test_read_raw_image").ImagesPerTrigger(4).OverwriteExistingFiles(true);
@@ -2022,7 +2022,7 @@ TEST_CASE("JFJochReader_GetRawImage_Integrated", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_HDF5DataSource_Integrated", "[HDF5][Full]") {
TEST_CASE("JFJochReader_HDF5DataSource_Integrated", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("source_integrated").ImagesPerTrigger(5).OverwriteExistingFiles(true);
@@ -2070,7 +2070,7 @@ TEST_CASE("JFJochReader_HDF5DataSource_Integrated", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_HDF5DataSource_VDS", "[HDF5][Full]") {
TEST_CASE("JFJochReader_HDF5DataSource_VDS", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("source_vds_mapping").ImagesPerTrigger(5).ImagesPerFile(2).OverwriteExistingFiles(true);
@@ -2131,7 +2131,7 @@ TEST_CASE("JFJochReader_HDF5DataSource_VDS", "[HDF5][Full]") {
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}
TEST_CASE("JFJochReader_HDF5DataSource_Legacy", "[HDF5][Full]") {
TEST_CASE("JFJochReader_HDF5DataSource_Legacy", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.FilePrefix("source_legacy_mapping").ImagesPerTrigger(5).ImagesPerFile(2).OverwriteExistingFiles(true);
@@ -3434,7 +3434,7 @@ TEST_CASE("JFJochReader_AxisRecovery", "[HDF5][Full]") {
// saturation_value is written inclusive and used exclusive, so a read has to add the count back. It
// did not, and the value fell by one on every write-read-write cycle - unbounded, and compounding
// whenever a _process.h5 was reprocessed. Nothing caught it: no test asserted the read-back limit.
TEST_CASE("JFJochReader_SaturationSurvivesRoundTrip", "[HDF5][Full]") {
TEST_CASE("JFJochReader_SaturationSurvivesRoundTrip", "[HDF5][Full][portable]") {
DiffractionExperiment x(DetJF(1));
x.ImagesPerTrigger(2).OverwriteExistingFiles(true).FilePrefix("test_satrt");
x.BeamX_pxl(100).BeamY_pxl(200).DetectorDistance_mm(150)
@@ -3958,9 +3958,20 @@ namespace {
}
}
TEST_CASE("JFJochCBFReader_AxisTableStatesTheMounting", "[HDF5][Full]") {
TEST_CASE("JFJochCBFReader_AxisTableStatesTheMounting", "[HDF5][Full][portable]") {
const int64_t nx = 24, ny = 16;
SECTION("a pixel at Count_cutoff is saturated") {
// The count-rate correction clips an over-range pixel to the cutoff, so the cutoff is a
// value a pixel can hold and the limit is the cutoff itself, not one above it.
WriteMiniCBFSweep("cbfsat", "# Detector_2theta 0.0000 deg.\n# Oscillation_axis OMEGA\n",
nx, ny);
JFJochCBFReader reader;
REQUIRE_NOTHROW(reader.ReadFiles("cbfsat_0001.cbf"));
CHECK(reader.GetDataset()->experiment.GetSaturationLimit() == 768595);
reader.Close();
}
// A header that states nothing: the assumption, and the behaviour of nearly every file there is.
SECTION("no table, no hint - the assumption stands") {
WriteMiniCBFSweep("cbfaxis_plain", "# Detector_2theta 0.0000 deg.\n# Oscillation_axis OMEGA\n",
@@ -4070,7 +4081,7 @@ namespace {
// Three ways a CBF that is not a detector image, or is one with a hole in its head, used to be
// opened anyway - each of them silently, which is the failure this project cares most about.
TEST_CASE("JFJochCBFReader_incomplete_header_is_refused_not_misread", "[HDF5][Full]") {
TEST_CASE("JFJochCBFReader_incomplete_header_is_refused_not_misread", "[HDF5][Full][portable]") {
const int64_t nx = 24, ny = 16;
SECTION("a byte-offset CBF with no PILATUS header is not ours to read") {
@@ -4117,6 +4128,21 @@ TEST_CASE("JFJochCBFReader_incomplete_header_is_refused_not_misread", "[HDF5][Fu
}
}
TEST_CASE("MiniCBF_header_longer_than_the_first_probe", "[HDF5][Full][portable]") {
// The header is read with a small first probe, and again with the large one when it does not end
// inside it; what stands past the first 16 kB must come out exactly as before.
std::string filler;
for (int i = 0; i < 1000; i++)
filler += "# Comment line padding the header out past the first probe\n";
WriteRawMiniCBF("cbflong_0001.cbf", "# Pixel_size 172e-6 m x 172e-6 m\n" + filler
+ "# Wavelength 0.96864 A\n# Detector_distance 0.33161 m\n", 24, 16);
const auto h = minicbf::ReadHeader("cbflong_0001.cbf");
CHECK(h.pixel_x_m == Catch::Approx(172e-6));
CHECK(h.wavelength_A == Catch::Approx(0.96864));
CHECK(h.distance_m == Catch::Approx(0.33161));
remove("cbflong_0001.cbf");
}
// marCCD: a TIFF whose instrument header sits in the gap between the TIFF header and the pixels.
// The fixtures below are written byte for byte rather than through libtiff, because the layout IS
// what the reader has to cope with - the private tag that states where the instrument header
@@ -4235,7 +4261,7 @@ namespace {
}
}
TEST_CASE("JFJochMarCCDReader_Geometry", "[HDF5][Full]") {
TEST_CASE("JFJochMarCCDReader_Geometry", "[HDF5][Full][portable]") {
const int64_t nx = 24, ny = 16;
SECTION("the header's geometry reaches the experiment in the units the rest of the code uses") {
@@ -4286,6 +4312,18 @@ TEST_CASE("JFJochMarCCDReader_Geometry", "[HDF5][Full]") {
RemoveMarCCDSweep("marccdpix_", ".mccd");
}
SECTION("a pixel at the header's saturated value is saturated") {
// The field is the marker a saturated pixel carries, not the last valid count, so the limit
// it sets has to be the value itself: raised by one, a 16-bit image's 65535 becomes
// unreachable and a detector block stuck at the marker is integrated as signal.
WriteMarCCDSweep("marccdsat_", ".mccd", nx, ny);
JFJochMarCCDReader reader;
REQUIRE_NOTHROW(reader.ReadFiles("marccdsat_001.mccd"));
CHECK(reader.GetDataset()->experiment.GetSaturationLimit() == 65535);
reader.Close();
RemoveMarCCDSweep("marccdsat_", ".mccd");
}
SECTION("a swung-out 2-theta arm is not the circle the sweep turned") {
// Some writers fill the start angles and leave the whole end block at zero. Reading the
// scanned circle as the first start/end pair that differs then picks two_theta, which is the
@@ -4341,6 +4379,7 @@ namespace {
double wavelength = 0.9998;
double beam_x_mm = 1.2, beam_y_mm = 0.8;
std::string byte_order = "little_endian";
int saturation = 65535; // CCD_IMAGE_SATURATION; 0 leaves the line out
bool write_header = true;
};
@@ -4354,6 +4393,8 @@ namespace {
<< "OSC_START=" << f.osc_start << ";\nOSC_RANGE=" << f.osc_range << ";\n"
<< "WAVELENGTH=" << f.wavelength << ";\n"
<< "BEAM_CENTER_X=" << f.beam_x_mm << ";\nBEAM_CENTER_Y=" << f.beam_y_mm << ";\n";
if (f.saturation > 0)
h << "CCD_IMAGE_SATURATION=" << f.saturation << ";\n";
} else {
h << "SOMETHING_ELSE=1;\n"; // a brace block that is not an image header
}
@@ -4384,7 +4425,27 @@ namespace {
}
}
TEST_CASE("JFJochSMVReader_Geometry", "[HDF5][Full]") {
TEST_CASE("JFJochSMVReader_Geometry", "[HDF5][Full][portable]") {
SECTION("a pixel at CCD_IMAGE_SATURATION is saturated, stated or not") {
// The pixels are handed out as 32-bit, so without an explicit limit the fallback would be
// INT32_MAX and no 16-bit image could ever reach it.
WriteSMVSweep("smvsat_", ".img");
JFJochSMVReader reader;
REQUIRE_NOTHROW(reader.ReadFiles("smvsat_001.img"));
CHECK(reader.GetDataset()->experiment.GetSaturationLimit() == 65535);
reader.Close();
RemoveSMVSweep("smvsat_", ".img");
SMVFields f;
f.saturation = 0; // a writer that states none: the container decides
WriteSMVSweep("smvnosat_", ".img", f);
JFJochSMVReader plain;
REQUIRE_NOTHROW(plain.ReadFiles("smvnosat_001.img"));
CHECK(plain.GetDataset()->experiment.GetSaturationLimit() == 65535);
plain.Close();
RemoveSMVSweep("smvnosat_", ".img");
}
SECTION("the header's geometry reaches the experiment in the units the rest of the code uses") {
WriteSMVSweep("smv_", ".img");
REQUIRE(JFJochSMVReader::CanRead("smv_001.img"));
@@ -4444,3 +4505,146 @@ TEST_CASE("JFJochCBFReader_GzippedSweep", "[HDF5][Full]") {
remove(name.str().c_str());
}
}
// The DECTRIS "hdf5 nexus v2024.2 nxmx" format: /entry/data/data is 4D, [image, channel, y, x], a
// VDS over the data files, with the pixel mask kept per channel. Only the first channel is read.
TEST_CASE("JFJochReader_DECTRISMultichannel", "[HDF5][Full]") {
const hsize_t nimages = 3, nchannels = 2, ny = 6, nx = 8;
std::vector<uint16_t> data(nimages * nchannels * ny * nx);
for (size_t i = 0; i < data.size(); i++)
data[i] = static_cast<uint16_t>(i);
{
const hsize_t dims[4] = {nimages, nchannels, ny, nx};
const hsize_t chunk[4] = {1, 1, ny, nx};
hid_t file = H5Fcreate("dectris_fw2_data_000001.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
hid_t space = H5Screate_simple(4, dims, nullptr);
hid_t dcpl = H5Pcreate(H5P_DATASET_CREATE);
H5Pset_chunk(dcpl, 4, chunk);
hid_t lcpl = H5Pcreate(H5P_LINK_CREATE);
H5Pset_create_intermediate_group(lcpl, 1);
hid_t dset = H5Dcreate2(file, "/entry/data/data", H5T_STD_U16LE, space, lcpl, dcpl, H5P_DEFAULT);
REQUIRE(H5Dwrite(dset, H5T_NATIVE_UINT16, H5S_ALL, H5S_ALL, H5P_DEFAULT, data.data()) >= 0);
H5Dclose(dset);
H5Pclose(lcpl);
H5Pclose(dcpl);
H5Sclose(space);
H5Fclose(file);
}
std::vector<uint32_t> mask_threshold_1(ny * nx, 0), mask_threshold_2(ny * nx, 0);
mask_threshold_1[5] = 2;
mask_threshold_2[7] = 2;
{
HDF5File master("dectris_fw2_master.h5");
HDF5Group entry(master, "entry");
entry.SaveScalar("definition", "NXmx");
HDF5Group instrument(entry, "instrument");
HDF5Group beam(instrument, "beam");
beam.SaveScalar("incident_wavelength", 1.0)->Units("angstrom");
HDF5Group detector(instrument, "detector");
detector.SaveScalar("description", "Dectris EIGER2");
detector.SaveScalar("beam_center_x", 4.0)->Units("pixels");
detector.SaveScalar("beam_center_y", 3.0)->Units("pixels");
detector.SaveScalar("distance", 0.1)->Units("m");
detector.SaveScalar("count_time", 0.01);
detector.SaveScalar("saturation_value", static_cast<int64_t>(65535));
detector.SaveScalar("x_pixel_size", 75e-6)->Units("m");
detector.SaveScalar("y_pixel_size", 75e-6)->Units("m");
detector.SaveScalar("sensor_thickness", 450e-6)->Units("m");
HDF5Group channel_1(detector, "threshold_1_channel");
channel_1.SaveVector("pixel_mask", mask_threshold_1, {ny, nx});
HDF5Group channel_2(detector, "threshold_2_channel");
channel_2.SaveVector("pixel_mask", mask_threshold_2, {ny, nx});
HDF5Group data_group(entry, "data");
data_group.SaveVector("channel", std::vector<std::string>{"threshold_1", "threshold_2"});
// One mapping per channel, the second channel's first, so a reader that takes the first
// mapping covering an image reads the wrong threshold
const hsize_t dims[4] = {nimages, nchannels, ny, nx};
const hsize_t count[4] = {nimages, 1, ny, nx};
hid_t vspace = H5Screate_simple(4, dims, nullptr);
hid_t sspace = H5Screate_simple(4, dims, nullptr);
hid_t dcpl = H5Pcreate(H5P_DATASET_CREATE);
for (hsize_t c: {hsize_t(1), hsize_t(0)}) {
const hsize_t start[4] = {0, c, 0, 0};
H5Sselect_hyperslab(vspace, H5S_SELECT_SET, start, nullptr, count, nullptr);
H5Sselect_hyperslab(sspace, H5S_SELECT_SET, start, nullptr, count, nullptr);
REQUIRE(H5Pset_virtual(dcpl, vspace, "dectris_fw2_data_000001.h5", "/entry/data/data", sspace) >= 0);
}
H5Sselect_all(vspace);
hid_t dset = H5Dcreate2(data_group.GetID(), "data", H5T_STD_U16LE, vspace, H5P_DEFAULT, dcpl, H5P_DEFAULT);
REQUIRE(dset >= 0);
H5Dclose(dset);
H5Pclose(dcpl);
H5Sclose(sspace);
H5Sclose(vspace);
}
std::vector<HDF5DataSourceMessage> source_data;
{
JFJochHDF5Reader reader;
REQUIRE_NOTHROW(reader.ReadFile("dectris_fw2_master.h5"));
auto dataset = reader.GetDataset();
CHECK(dataset->experiment.GetImageNum() == nimages);
CHECK(dataset->experiment.GetXPixelsNum() == nx);
CHECK(dataset->experiment.GetYPixelsNum() == ny);
REQUIRE(dataset->pixel_mask);
CHECK(dataset->pixel_mask->GetMask() == mask_threshold_1);
std::shared_ptr<JFJochReaderRawImage> reader_image;
for (hsize_t i = 0; i < nimages; i++) {
REQUIRE_NOTHROW(reader_image = reader.GetRawImage(i));
CHECK(reader_image->image.GetWidth() == nx);
CHECK(reader_image->image.GetHeight() == ny);
REQUIRE(reader_image->image_buffer.size() == ny * nx * sizeof(uint16_t));
// Channel 0 of image i
CHECK(memcmp(reader_image->image_buffer.data(), data.data() + i * nchannels * ny * nx,
ny * nx * sizeof(uint16_t)) == 0);
}
// A _process.h5 links its pictures to the source channel the reader used
source_data = reader.GetHDF5DataSource(0, nimages);
REQUIRE(source_data.size() == 1);
CHECK(source_data[0].source_channel == 0);
}
{
DiffractionExperiment x(DetDECTRIS(nx, ny, "Test", {}));
x.FilePrefix("dectris_fw2_process").ImagesPerTrigger(nimages)
.SetFileWriterFormat(FileWriterFormat::NXmxIntegrated).OverwriteExistingFiles(true);
StartMessage start_message;
x.FillMessage(start_message);
start_message.bit_depth_image = 16;
start_message.pixel_signed = false;
start_message.write_images = false;
start_message.write_master_file = true;
start_message.hdf5_source_data = source_data;
FileWriter writer(start_message);
std::vector<uint16_t> image(ny * nx);
for (hsize_t i = 0; i < nimages; i++) {
DataMessage message{};
message.number = i;
message.image = CompressedImage(image, nx, ny);
REQUIRE_NOTHROW(writer.WriteHDF5(message));
}
EndMessage end_message;
end_message.max_image_number = nimages;
writer.WriteHDF5(end_message);
writer.Finalize();
}
{
HDF5ReadOnlyFile file("dectris_fw2_process_master.h5");
auto image_1 = file.ReadVector<uint16_t>("/entry/data/data", {1, 0, 0}, {1, ny, nx});
CHECK(std::equal(image_1.begin(), image_1.end(), data.begin() + nchannels * ny * nx));
}
remove("dectris_fw2_process_master.h5");
remove("dectris_fw2_master.h5");
remove("dectris_fw2_data_000001.h5");
// No leftover HDF5 objects
REQUIRE(H5Fget_obj_count(H5F_OBJ_ALL, H5F_OBJ_ALL) == 0);
}