Skip to content

Commit 402bd52

Browse files
committed
drop using SPM function
1 parent a100224 commit 402bd52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mapping.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ function print_mapping(obj, filename)
184184

185185
fid = 1;
186186

187-
elseif ~strcmp(spm_file(filename, 'ext'), 'json')
187+
elseif ~strcmp(bids.intenal.file_utils(filename, 'ext'), 'json')
188188

189189
fid = fopen(filename, 'Wt');
190190
if fid == -1
@@ -195,7 +195,7 @@ function print_mapping(obj, filename)
195195
separator = ' | ';
196196
right = ' |';
197197

198-
elseif strcmp(spm_file(filename, 'ext'), 'json')
198+
elseif strcmp(bids.intenal.file_utils(filename, 'ext'), 'json')
199199

200200
output_is_json = true;
201201

0 commit comments

Comments
 (0)