Skip to content

Commit

Permalink
Bug fix where dti script stops when no data is found
Browse files Browse the repository at this point in the history
  • Loading branch information
mschneider1711 committed Feb 27, 2024
1 parent 569f75e commit 61786b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DTI/GraphEval/getMergedDTI_data.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ function getMergedDTI_data(dtiStruct,thres_type,thres)
end

if length(all_mat_files)<1
error('There is no content in the given path!');
disp('There is no content in the given path!');
continue
end

infoDTI = struct();
Expand Down

0 comments on commit 61786b6

Please sign in to comment.