Changeset 132 for aedes_saveres.m


Ignore:
Timestamp:
Jun 22, 2010, 8:44:34 AM (9 years ago)
Author:
tjniskan
Message:
  • Added read support for SWIFT reconstruction files (*.sgl)
  • Changed the layout of results viewer GUI. Also added more options

and all options should now be "remembered"

M aedes_getfilefilter.m
A aedes_readswiftsgl.m
M aedes_data_read.m
M aedes_resviewer.m
M aedes.m
M aedes_revision.m
M aedes_saveres.m
M aedes_getdataformat.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_saveres.m

    r80 r132  
    3838ShowWbar = true;       % Show waitbar by default
    3939RotateFlip = [];
     40ConfirmOverwrite = true;
    4041
    4142
     
    6970    RotateFlip = varargin{ii+1};
    7071   
     72    case 'confirmoverwrite'
     73    ConfirmOverwrite = varargin{ii+1};
     74   
    7175   otherwise
    7276    done=false;
     
    118122  end
    119123 
    120   if ResFileExists
     124  if ResFileExists && ConfirmOverwrite
    121125    resp=questdlg({['"',FilePath,FileName,'.res" already exists.'],...
    122126                  'Overwrite?'},'Overwrite File?',...
     
    127131    end
    128132  end
    129   if RoiFileExists
     133  if RoiFileExists && ConfirmOverwrite
    130134    resp=questdlg({['"',FilePath,FileName,'.roi" already exists.'],...
    131135                  'Overwrite?'},'Overwrite File?',...
     
    173177  end
    174178 
    175   if RoiFileExists
     179  if RoiFileExists && ConfirmOverwrite
    176180    resp=questdlg({['"',FilePath,FileName,'.roi" already exists.'],...
    177181                  'Overwrite?'},'Overwrite File?',...
     
    210214  end
    211215 
    212   if ResFileExists
     216  if ResFileExists && ConfirmOverwrite
    213217    resp=questdlg({['"',FilePath,FileName,'.res" already exists.'],...
    214218                  'Overwrite?'},'Overwrite File?',...
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008