Skip to content
Snippets Groups Projects
Commit f048b37b authored by Eric Wait's avatar Eric Wait
Browse files

Fixed legacy dataset name in image file dialog

parent 154e6540
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,9 @@ while ( ~bOpened )
if (~isfield(CONSTANTS,'datasetName'))
CONSTANTS.datasetName = imageDataset;
elseif (~strcmp(imageDataset,CONSTANTS.datasetName))
if (strcmp(imageDataset,[CONSTANTS.datasetName '_']))
CONSTANTS.datasetName = [CONSTANTS.datasetName '_'];
else
answer = questdlg('Image does not match dataset would you like to choose another?','Image Selection','Yes','No','Close LEVer','Yes');
switch answer
case 'Yes'
......@@ -34,6 +37,7 @@ while ( ~bOpened )
continue;
end
end
end
CONSTANTS.rootImageFolder = settings.imagePath;
CONSTANTS.imageSignificantDigits = sigDigits;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment