Skip to content

Commit

Permalink
Fixed a bug when find DICOM files *.IMA
Browse files Browse the repository at this point in the history
  • Loading branch information
sandywang committed Sep 16, 2018
1 parent f82f211 commit 8100079
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GUI/gretna_GUI_PreprocessInterface.m
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ function ChangedAction(hObject)
return
end

D=dir(fullfile(Path, [Prefix, '*.IMA'])); % DCM
D=dir(fullfile(Path, [Prefix, '.IMA'])); % DCM
if ~isempty(D)
C={D.name}';
FileList={fullfile(Path, C{1})};
Expand Down Expand Up @@ -1946,7 +1946,7 @@ function ChangedAction(hObject)
return
end

D=dir(fullfile(Path, [Prefix, '*.ima'])); % DCM
D=dir(fullfile(Path, [Prefix, '.ima'])); % DCM
if ~isempty(D)
C={D.name}';
S.Num=numel(C);
Expand All @@ -1956,7 +1956,7 @@ function ChangedAction(hObject)
return
end

D=dir(fullfile(Path, [Prefix, '*.IMA'])); % DCM
D=dir(fullfile(Path, [Prefix, '.IMA'])); % DCM
if ~isempty(D)
C={D.name}';
S.Num=numel(C);
Expand Down

0 comments on commit 8100079

Please sign in to comment.