* Enhancements for XFEL
* Enhancements for EIGER * Writer is more flexible and capable of handling DECTRIS data
This commit is contained in:
@@ -46,7 +46,7 @@ TEST_CASE("StreamWriterTest_ZMQ","[JFJochWriter]") {
|
||||
|
||||
// HDF5 file can be opened
|
||||
std::unique_ptr<HDF5ReadOnlyFile> file;
|
||||
REQUIRE_NOTHROW(file = std::make_unique<HDF5ReadOnlyFile>("subdir/JFJochWriterTest_data_000.h5"));
|
||||
REQUIRE_NOTHROW(file = std::make_unique<HDF5ReadOnlyFile>("subdir/JFJochWriterTest_data_000000.h5"));
|
||||
std::unique_ptr<HDF5DataSet> dataset;
|
||||
REQUIRE_NOTHROW(dataset = std::make_unique<HDF5DataSet>(*file, "/entry/data/data"));
|
||||
std::unique_ptr<HDF5DataSpace> dataspace;
|
||||
@@ -58,6 +58,6 @@ TEST_CASE("StreamWriterTest_ZMQ","[JFJochWriter]") {
|
||||
REQUIRE(dataspace->GetDimensions()[2] == 2*RAW_MODULE_LINES);
|
||||
|
||||
REQUIRE(std::filesystem::remove("subdir/JFJochWriterTest_master.h5"));
|
||||
REQUIRE(std::filesystem::remove("subdir/JFJochWriterTest_data_000.h5"));
|
||||
REQUIRE(std::filesystem::remove("subdir/JFJochWriterTest_data_000000.h5"));
|
||||
REQUIRE(std::filesystem::remove("subdir"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user