Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jul 10, 2024
1 parent ee40802 commit 4b4f7f2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion run_tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

spm('defaults', 'fMRI');

thisDir = fullfile(fileparts(mfilename('fullpath')));
thisDir = fileparts(mfilename('fullpath'));

folderToCover = fullfile(thisDir, 'src');

Expand Down
2 changes: 1 addition & 1 deletion tests/test_createRoi.m
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function test_createRoi_intersection_mask_sphere()
end

function value = thisDir()
value = fullfile(fileparts(mfilename('fullpath')));
value = fileparts(mfilename('fullpath'));
end

function value = demoDir()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_getPeakCoordinates.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function test_getPeakCoordinates_basic()
end

function value = thisDir()
value = fullfile(fileparts(mfilename('fullpath')));
value = fileparts(mfilename('fullpath'));
end

function value = demoDir()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_isBinaryMask.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function test_isBinaryMask_false()
end

function value = thisDir()
value = fullfile(fileparts(mfilename('fullpath')));
value = fileparts(mfilename('fullpath'));
end

function value = demoDir()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_labelClusters.m
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
end

function value = thisDir()
value = fullfile(fileparts(mfilename('fullpath')));
value = fileparts(mfilename('fullpath'));
end

function value = demoDir()
Expand Down

0 comments on commit 4b4f7f2

Please sign in to comment.