Skip to content

Commit 848442b

Browse files
author
David Ellis
committed
FIX: Removes the unnecessary inputs to MakeSurfaces for 53.
1 parent 6c63ded commit 848442b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nipype/workflows/smri/freesurfer/autorecon3.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ def create_AutoRecon3(name="AutoRecon3", qcache=False, plugin_args=None,
172172

173173

174174
if fsvernum < 6:
175-
hemi_wf.connect(hemi_inputspec1, 'white', ar3_pial, 'in_white')
176175
ar3_pial.inputs.white = 'NOWRITE'
176+
hemi_wf.connect(hemi_inputspec1, 'white', ar3_pial, 'in_white')
177177
else:
178178
ar3_pial.inputs.no_white = True
179179
hemi_wf.connect([(hemi_inputspec1, ar3_pial, [('white', 'orig_pial'),
@@ -182,8 +182,6 @@ def create_AutoRecon3(name="AutoRecon3", qcache=False, plugin_args=None,
182182
hemi_wf.connect([(hemi_inputspec1, ar3_pial, [('wm', 'in_wm'),
183183
('orig', 'in_orig'),
184184
('filled', 'in_filled'),
185-
('white', 'orig_pial'),
186-
('white', 'orig_white'),
187185
('brain_finalsurfs', 'in_T1'),
188186
('aseg_presurf', 'in_aseg')]),
189187
(ar3_parcellation, ar3_pial, [('out_file', 'in_label')])

0 commit comments

Comments
 (0)