Skip to content

Commit f039428

Browse files
FIX: typos in brainextraction.py
1 parent 9cd8808 commit f039428

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nirodents/workflows/brainextraction.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ def init_rodent_brain_extraction_wf(
140140
# Set up initial spatial normalization
141141
init_settings_file = f'data/brainextraction_{init_normalization_quality}_{modality}.json'
142142
init_norm = pe.Node(Registration(from_file=pkgr_fn(
143-
'nirodents', init_settings_file),
143+
'nirodents', init_settings_file)),
144144
name='init_norm',
145145
n_procs=omp_nthreads,
146-
mem_gb=mem_gb))
146+
mem_gb=mem_gb)
147147
init_norm.inputs.float = use_float
148148

149149
# Refine INU correction
@@ -176,18 +176,18 @@ def init_rodent_brain_extraction_wf(
176176
close_mask.inputs.fill_holes = True
177177

178178
# Use subject-space mask to skull-strip subject
179-
skullstrip_tar = pe.Node(ApplyMask, name='skullstrip_tar')
180-
skullstrip_tpl = pe.Node(ApplyMask, name='skullstrip_tpl')
179+
skullstrip_tar = pe.Node(ApplyMask(), name='skullstrip_tar')
180+
skullstrip_tpl = pe.Node(ApplyMask(), name='skullstrip_tpl')
181181
if tpl_target_path:
182182
skullstrip_tpl.inputs.in_file = tpl_target_path
183183

184184
# Normalise skull-stripped image to brain template
185185
final_settings_file = f'data/brainextraction_{final_normalization_quality}_{modality}.json'
186186
final_norm = pe.Node(Registration(from_file=pkgr_fn(
187-
'nirodents', final_settings_file),
187+
'nirodents', final_settings_file)),
188188
name='final_norm',
189189
n_procs=omp_nthreads,
190-
mem_gb=mem_gb))
190+
mem_gb=mem_gb)
191191
final_norm.inputs.float = use_float
192192

193193
split_final_transforms = pe.Node(niu.Split(splits=[1,1]), name='split_final_transforms')

0 commit comments

Comments
 (0)