mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-15 17:11:20 +01:00
virtual hdf file mapping fix for fnum-1 images
This commit is contained in:
@@ -512,7 +512,7 @@ public:
|
||||
|
||||
//hyperslab
|
||||
int numMajorHyperslab = (numf-1)/maxFramesPerFile;
|
||||
if ((numf-1)%maxFramesPerFile) numMajorHyperslab++;
|
||||
if (((numf-1)%maxFramesPerFile) || (numf == 1)) numMajorHyperslab++;
|
||||
bool error = false;
|
||||
uint64_t framesSaved = 0;
|
||||
for (int j = 0; j < numMajorHyperslab; j++) {
|
||||
|
||||
Reference in New Issue
Block a user