mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-29 09:30:02 +02:00
virtual hdf file mapping fix for fnum-1 images
This commit is contained in:
parent
11475316fd
commit
1247f760f2
@ -512,7 +512,7 @@ public:
|
|||||||
|
|
||||||
//hyperslab
|
//hyperslab
|
||||||
int numMajorHyperslab = (numf-1)/maxFramesPerFile;
|
int numMajorHyperslab = (numf-1)/maxFramesPerFile;
|
||||||
if ((numf-1)%maxFramesPerFile) numMajorHyperslab++;
|
if (((numf-1)%maxFramesPerFile) || (numf == 1)) numMajorHyperslab++;
|
||||||
bool error = false;
|
bool error = false;
|
||||||
uint64_t framesSaved = 0;
|
uint64_t framesSaved = 0;
|
||||||
for (int j = 0; j < numMajorHyperslab; j++) {
|
for (int j = 0; j < numMajorHyperslab; j++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user