File tree Expand file tree Collapse file tree 5 files changed +1
-21
lines changed Expand file tree Collapse file tree 5 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -289,17 +289,11 @@ Other options:
289
289
(default: False)
290
290
291
291
NiBabies specific options:
292
- --anat-modality {t1w,t2w}
293
- Preferred modality to use for anatomical processing
294
- (default: t1w)
295
292
--age-months AGE_MONTHS
296
293
Age in months (default: None)
297
294
--segmentation-atlases-dir SEGMENTATION_ATLASES_DIR
298
295
Directory containing precalculated segmentations to
299
296
use for JointLabelFusion. (default: None)
300
- --ants-affine-init {random,search}
301
- TESTING: Customize parameters for ants AI
302
- initialization. (default: None)
303
297
```
304
298
305
299
</details >
Original file line number Diff line number Diff line change @@ -594,11 +594,6 @@ def _bids_filter(value):
594
594
"--segmentation-atlases-dir" ,
595
595
help = "Directory containing precalculated segmentations to use for JointLabelFusion."
596
596
)
597
- g_baby .add_argument (
598
- "--ants-affine-init" ,
599
- choices = ("random" , "search" ),
600
- help = "TESTING: Customize parameters for ants AI initialization."
601
- )
602
597
return parser
603
598
604
599
Original file line number Diff line number Diff line change @@ -491,10 +491,6 @@ class workflow(_Config):
491
491
"""Age (in months)"""
492
492
anat_only = False
493
493
"""Execute the anatomical preprocessing only."""
494
- anat_modality = "t1w"
495
- """Structural MRI modality"""
496
- ants_affine_init = None
497
- """Customize ants affine initialization"""
498
494
aroma_err_on_warn = None
499
495
"""Cast AROMA warnings to errors."""
500
496
aroma_melodic_dim = None
Original file line number Diff line number Diff line change @@ -257,11 +257,6 @@ def init_infant_brain_extraction_wf(
257
257
verbose = True ,
258
258
)
259
259
260
- if ants_affine_init == "random" :
261
- ants_kwargs ["metric" ] = ("Mattes" , 32 , "Random" , 0.2 )
262
- if ants_affine_init == "search" :
263
- ants_kwargs ["search_grid" ] = (20 , (20 , 40 , 40 ))
264
-
265
260
init_aff = pe .Node (
266
261
AI (** ants_kwargs ),
267
262
name = "init_aff" ,
Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ def init_single_subject_wf(subject_id):
286
286
287
287
# Preprocessing of anatomical (includes registration to UNCInfant)
288
288
anat_preproc_wf = init_infant_anat_wf (
289
- ants_affine_init = config . workflow . ants_affine_init or True ,
289
+ ants_affine_init = True ,
290
290
age_months = config .workflow .age_months ,
291
291
anat_modality = anat_modality ,
292
292
t1w = subject_data ["t1w" ],
You can’t perform that action at this time.
0 commit comments