We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa2ae98 commit 3d09d34Copy full SHA for 3d09d34
nirodents/workflows/brainextraction.py
@@ -151,10 +151,8 @@ def init_rodent_brain_extraction_wf(
151
name='warp_mask_final')
152
153
# 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
+ close_mask = pe.Node(MaskTool(outputtype='NIFTI_GZ', dilate_inputs='5 -5', fill_holes=True),
+ name='close_mask')
158
159
# Use subject-space mask to skull-strip subject
160
skullstrip_tar = pe.Node(ApplyMask(), name='skullstrip_tar')
0 commit comments