@@ -43,11 +43,6 @@ def _build_parser(**kwargs):
43
43
44
44
deprecations = {
45
45
# parser attribute name: (replacement flag, version slated to be removed in)
46
- 'use_aroma' : (None , '24.0.0' ),
47
- 'aroma_melodic_dim' : (None , '24.0.0' ),
48
- 'aroma_err_on_warn' : (None , '24.0.0' ),
49
- 'bold2t1w_init' : ('--bold2anat-init' , '24.2.0' ),
50
- 'bold2t1w_dof' : ('--bold2anat-dof' , '24.2.0' ),
51
46
'force_bbr' : ('--force bbr' , '26.0.0' ),
52
47
'force_no_bbr' : ('--force no-bbr' , '26.0.0' ),
53
48
'force_syn' : ('--force syn-sdc' , '26.0.0' ),
@@ -376,19 +371,6 @@ def _slice_time_ref(value, parser):
376
371
action = 'store_true' ,
377
372
help = 'Treat dataset as longitudinal - may increase runtime' ,
378
373
)
379
- g_conf .add_argument (
380
- '--bold2t1w-init' ,
381
- action = DeprecatedAction ,
382
- choices = ['register' , 'header' ],
383
- help = 'Deprecated - use `--bold2anat-init` instead.' ,
384
- )
385
- g_conf .add_argument (
386
- '--bold2t1w-dof' ,
387
- action = DeprecatedAction ,
388
- choices = [6 , 9 , 12 ],
389
- type = int ,
390
- help = 'Deprecated - use `--bold2anat-dof` instead.' ,
391
- )
392
374
g_conf .add_argument (
393
375
'--bold2anat-init' ,
394
376
choices = ['auto' , 't1w' , 't2w' , 'header' ],
@@ -525,32 +507,6 @@ def _slice_time_ref(value, parser):
525
507
help = 'Disable Multimodal Surface Matching surface registration.' ,
526
508
)
527
509
528
- g_aroma = parser .add_argument_group (
529
- '[DEPRECATED] Options for running ICA_AROMA' ,
530
- description = (
531
- 'If you would like to apply ICA-AROMA to fMRIPrep derivatives, '
532
- 'please consider using fMRIPost-AROMA (https://fmripost-aroma.readthedocs.io/)'
533
- ),
534
- )
535
- g_aroma .add_argument (
536
- '--use-aroma' ,
537
- action = DeprecatedAction ,
538
- help = 'Deprecated. Will raise an error in 24.0.' ,
539
- )
540
- g_aroma .add_argument (
541
- '--aroma-melodic-dimensionality' ,
542
- dest = 'aroma_melodic_dim' ,
543
- action = DeprecatedAction ,
544
- type = int ,
545
- help = 'Deprecated. Will raise an error in 24.0.' ,
546
- )
547
- g_aroma .add_argument (
548
- '--error-on-aroma-warnings' ,
549
- action = DeprecatedAction ,
550
- dest = 'aroma_err_on_warn' ,
551
- help = 'Deprecated. Will raise an error in 24.0.' ,
552
- )
553
-
554
510
g_confounds = parser .add_argument_group ('Options relating to confounds' )
555
511
g_confounds .add_argument (
556
512
'--return-all-components' ,
0 commit comments