Skip to content

Commit 503a046

Browse files
committed
add mapping for "wmean"
1 parent a83531d commit 503a046

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Mapping.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ function print_mapping(obj, filename)
302302
['mean' obj.unwarp, obj.stc], ...
303303
['mean' obj.stc, obj.unwarp] }, obj.cfg.mean};
304304

305-
spec_norm_mean = {{[obj.norm, 'mean', obj.unwarp], ...
305+
spec_norm_mean = {{[obj.norm, 'mean'], ...
306+
[obj.norm, 'mean', obj.unwarp], ...
306307
[obj.norm, 'mean', obj.unwarp, obj.stc], ...
307308
[obj.norm, 'mean', obj.stc, obj.unwarp]}, obj.cfg.normalized_mean};
308309

tests/test_spm_2_bids.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function test_spm_2_bids_func()
241241
'sub-01_task-auditory_space-individual_desc-mean_bold.nii'; ...
242242
{'w', 'wua', 'wu', 'wr', 'wra'}, ...
243243
'sub-01_task-auditory_space-IXI549Space_desc-preproc_bold.nii'; ...
244-
{'wmeanu', 'wmeanua', 'wmeanau'}, ...
244+
{'wmean', 'wmeanu', 'wmeanua', 'wmeanau'}, ...
245245
'sub-01_task-auditory_space-IXI549Space_desc-mean_bold.nii'; ...
246246
{'sw', 'swua', 'swau', 'swu', 'swr', 'swra'}, ...
247247
'sub-01_task-auditory_space-IXI549Space_desc-smth_bold.nii'; ...

0 commit comments

Comments
 (0)