mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-06 12:50:40 +02:00
todo minor
This commit is contained in:
parent
e7d3e667b0
commit
55236ce6cc
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user