Skip to content

Commit 3d09d34

Browse files
Update brainextraction.py
tidying up for consistency
1 parent aa2ae98 commit 3d09d34

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

nirodents/workflows/brainextraction.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,8 @@ def init_rodent_brain_extraction_wf(
151151
name='warp_mask_final')
152152

153153
# morphological closing of warped mask
154-
close_mask = pe.Node(MaskTool(), name='close_mask')
155-
close_mask.inputs.outputtype = 'NIFTI_GZ'
156-
close_mask.inputs.dilate_inputs = '5 -5'
157-
close_mask.inputs.fill_holes = True
154+
close_mask = pe.Node(MaskTool(outputtype='NIFTI_GZ', dilate_inputs='5 -5', fill_holes=True),
155+
name='close_mask')
158156

159157
# Use subject-space mask to skull-strip subject
160158
skullstrip_tar = pe.Node(ApplyMask(), name='skullstrip_tar')

0 commit comments

Comments
 (0)