diff --git a/Code/ReadCTFFile.m b/Code/ReadCTFFile.m index e03a777..d0c777b 100644 --- a/Code/ReadCTFFile.m +++ b/Code/ReadCTFFile.m @@ -74,7 +74,8 @@ function ScanParamsData(FileStr, VarName) % Assumes square cropping % Formula by DTF if ~isfield(ScanParams,'PCX') || ~isfield(ScanParams,'PCY') || ~isfield(ScanParams,'VHRatio') || ~isfield(ScanParams,'DD') - warndlg({'No Pattern Center data found. PC vals set to zero.';'Run PC Calibration'},'Missing Info in .CPR file'); + w = warndlg({'No Pattern Center data found. PC vals set to zero.';'Run PC Calibration'},'Missing Info in .CPR file'); + uiwait(w) ScanParams.xstar = 0.1; ScanParams.ystar = 0.1; ScanParams.zstar = 0.1;