Skip to content

Commit f071c64

Browse files
committed
fix texts
1 parent 31b03cf commit f071c64

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

src/atlas/copyAtlasToSpmDir.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ function copyAtlasToSpmDir(varargin)
6767

6868
end
6969

70+
if strcmpi(atlas, 'wang')
71+
delete(sourceAtlasImage);
72+
end
73+
7074
end
7175

7276
function [sourceAtlasImage, sourceAtlasXml] = prepareFiles(atlas)

tests/test_copyAtlasToSpmDir.m

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ function test_copyAtlasToSpmDir_visfatlas()
4141

4242
function test_copyAtlasToSpmDir_glasser()
4343

44-
if bids.internal.is_github_ci()
45-
moxunit_throw_test_skipped_exception('no SPM in CI.');
46-
end
47-
4844
copyAtlasToSpmDir('Glasser', 'verbose', false);
4945

5046
targetAtlasImage = fullfile(spmAtlasDir(), ...
@@ -61,10 +57,6 @@ function test_copyAtlasToSpmDir_glasser()
6157

6258
function test_copyAtlasToSpmDir_basic()
6359

64-
if bids.internal.is_github_ci()
65-
return
66-
end
67-
6860
copyAtlasToSpmDir('AAL', 'verbose', false);
6961

7062
targetAtlasImage = fullfile(spmAtlasDir(), 'AAL3v1_1mm.nii');
@@ -79,10 +71,6 @@ function test_copyAtlasToSpmDir_basic()
7971

8072
function test_copyAtlasToSpmDir_HPCex()
8173

82-
if bids.internal.is_github_ci()
83-
return
84-
end
85-
8674
copyAtlasToSpmDir('HCPex', 'verbose', false);
8775

8876
targetAtlasImage = fullfile(spmAtlasDir(), 'HCPex.nii');

0 commit comments

Comments
 (0)