diff --git a/slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp b/slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp index 3abf5dc33..d95e795e5 100644 --- a/slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp +++ b/slsDetectorCalibration/moenchExecutables/moenchZmqProcess.cpp @@ -379,30 +379,32 @@ int main(int argc, char *argv[]) { } #endif else { - if (subframes>0 && insubframe>0) { - sprintf(ofname,"%s_sf%ld_%ld.tiff",fname,nnsubframe,fileindex); - // mt->writeImage(ofname); - doutf= new float[nnx*nny]; - if (subframes>0 && insubframe!=subframes && insubframe>0) - subnorm=((double)subframes)/((double)insubframe); - else - subnorm=1.; - for (int ix=0; ix0 ) { + if (insubframe>0) { + sprintf(ofname,"%s_sf%ld_%ld.tiff",fname,nnsubframe,fileindex); + // mt->writeImage(ofname); + doutf= new float[nnx*nny]; + if (subframes>0 && insubframe!=subframes && insubframe>0) + subnorm=((double)subframes)/((double)insubframe); + else + subnorm=1.; + for (int ix=0; ixwriteImage(ofname);