todo minor
All checks were successful
Build on RHEL9 / build (push) Successful in 2m22s
Build on RHEL8 / build (push) Successful in 2m28s

This commit is contained in:
maliakal_d 2025-06-04 16:58:09 +02:00
parent e7d3e667b0
commit 55236ce6cc

View File

@ -198,6 +198,7 @@ std::vector<Frame> Hdf5File::read_n(size_t n_frames) {
size_t Hdf5File::frame_number(size_t frame_index) {
//TODO: check if it should check total_Frames() at any point
// check why this->read_into.. as in RawFile
// refactor multiple frame reads into a single one using hyperslab
if (frame_index >= m_master.frames_in_file()) {
throw std::runtime_error(LOCATION + " Frame number out of range");
}