Improvements before MAX IV test
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
|
||||
void HDF5DataFilePluginResEstimation::OpenFile(HDF5File &data_file, const DataMessage &msg) {}
|
||||
|
||||
void HDF5DataFilePluginResEstimation::Write(const DataMessage &msg) {
|
||||
void HDF5DataFilePluginResEstimation::Write(const DataMessage &msg, uint64_t image_number) {
|
||||
if (!msg.resolution_estimation)
|
||||
return;
|
||||
|
||||
if (msg.number >= res_estimation.size())
|
||||
res_estimation.resize(msg.number + 1);
|
||||
if (image_number >= res_estimation.size())
|
||||
res_estimation.resize(image_number + 1);
|
||||
|
||||
res_estimation[msg.number] = msg.resolution_estimation.value();
|
||||
res_estimation[image_number] = msg.resolution_estimation.value();
|
||||
}
|
||||
|
||||
void HDF5DataFilePluginResEstimation::WriteFinal(HDF5File &data_file) {
|
||||
|
||||
Reference in New Issue
Block a user