Skip to content

Commit 3da5443

Browse files
committed
Merge pull request #775 from satra/fix/spmexample
fix: spm example
2 parents e522b35 + deb40fe commit 3da5443

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/fmri_spm_face.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080

8181

8282
segment = pe.Node(interface=spm.Segment(), name="segment")
83+
segment.inputs.save_bias_corrected = True
8384

8485
"""Uncomment the following line for faster execution
8586
"""
@@ -127,8 +128,8 @@ def get_vox_dims(volume):
127128
(coregister, segment,[('coregistered_source','data')]),
128129
(segment, normalize_func, [('transformation_mat','parameter_file')]),
129130
(segment, normalize_struc, [('transformation_mat','parameter_file'),
130-
('modulated_input_image', 'apply_to_files'),
131-
(('modulated_input_image', get_vox_dims), 'write_voxel_sizes')]),
131+
('bias_corrected_image', 'apply_to_files'),
132+
(('bias_corrected_image', get_vox_dims), 'write_voxel_sizes')]),
132133
(realign, slice_timing, [('realigned_files', 'in_files')]),
133134
(slice_timing, normalize_func, [('timecorrected_files', 'apply_to_files'),
134135
(('timecorrected_files', get_vox_dims), 'write_voxel_sizes')]),

0 commit comments

Comments
 (0)