From 4a5f5c1fc10ac1c48785fbc9c16902eca1c1ceaf Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Tue, 2 Jun 2020 17:31:05 +0200 Subject: [PATCH] Fix writer implementation --- sf-writer/src/JFH5Writer.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sf-writer/src/JFH5Writer.cpp b/sf-writer/src/JFH5Writer.cpp index 8e2a817..da808f1 100644 --- a/sf-writer/src/JFH5Writer.cpp +++ b/sf-writer/src/JFH5Writer.cpp @@ -56,8 +56,6 @@ JFH5Writer::JFH5Writer(const std::string& output_file, image_dataspace, image_dataset_properties); - - b_pulse_id_ = new uint64_t[n_images_]; b_frame_index_= new uint64_t[n_images_]; b_daq_rec_ = new uint32_t[n_images_]; @@ -181,11 +179,11 @@ void JFH5Writer::write( } // images - direct chunk write one by one. - for (size_t i_pulse=n_images_offset; - i_pulse