Minor modifications to jfjoch_writer and OpenAPI
This commit is contained in:
@@ -37,7 +37,10 @@ void StreamWriter::CollectImages(std::vector<HDF5DataFileStatistics> &v) {
|
||||
|
||||
processed_images = 0;
|
||||
processed_image_size = 0;
|
||||
|
||||
file_prefix = image_puller_output.cbor->start_message->file_prefix;
|
||||
run_number = image_puller_output.cbor->start_message->run_number;
|
||||
run_name = image_puller_output.cbor->start_message->run_name;
|
||||
|
||||
CheckPath(image_puller_output.cbor->start_message->file_prefix);
|
||||
MakeDirectory(image_puller_output.cbor->start_message->file_prefix);
|
||||
@@ -141,6 +144,8 @@ StreamWriterStatistics StreamWriter::GetStatistics() const {
|
||||
.performance_MBs = perf_MBs,
|
||||
.performance_Hz = perf_Hz,
|
||||
.file_prefix = file_prefix,
|
||||
.run_name = run_name,
|
||||
.run_number = run_number,
|
||||
.state = state
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user