Skip to content

Commit 4b4f7f2

Browse files
committed
refactor
1 parent ee40802 commit 4b4f7f2

5 files changed

+5
-5
lines changed

run_tests.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
spm('defaults', 'fMRI');
66

7-
thisDir = fullfile(fileparts(mfilename('fullpath')));
7+
thisDir = fileparts(mfilename('fullpath'));
88

99
folderToCover = fullfile(thisDir, 'src');
1010

tests/test_createRoi.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function test_createRoi_intersection_mask_sphere()
8888
end
8989

9090
function value = thisDir()
91-
value = fullfile(fileparts(mfilename('fullpath')));
91+
value = fileparts(mfilename('fullpath'));
9292
end
9393

9494
function value = demoDir()

tests/test_getPeakCoordinates.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function test_getPeakCoordinates_basic()
2727
end
2828

2929
function value = thisDir()
30-
value = fullfile(fileparts(mfilename('fullpath')));
30+
value = fileparts(mfilename('fullpath'));
3131
end
3232

3333
function value = demoDir()

tests/test_isBinaryMask.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function test_isBinaryMask_false()
2222
end
2323

2424
function value = thisDir()
25-
value = fullfile(fileparts(mfilename('fullpath')));
25+
value = fileparts(mfilename('fullpath'));
2626
end
2727

2828
function value = demoDir()

tests/test_labelClusters.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
end
3333

3434
function value = thisDir()
35-
value = fullfile(fileparts(mfilename('fullpath')));
35+
value = fileparts(mfilename('fullpath'));
3636
end
3737

3838
function value = demoDir()

0 commit comments

Comments
 (0)