@@ -26,10 +26,6 @@ def _build_parser():
26
26
27
27
deprecations = {
28
28
# parser attribute name: (replacement flag, version slated to be removed in)
29
- 'bold2t1w_init' : ('--bold2anat-init' , '24.2.0' ),
30
- 'bold2t1w_dof' : ('--bold2anat-dof' , '24.2.0' ),
31
- 'force_reconall' : ('--surface-recon-method freesurfer' , '24.2.0' ),
32
- 'fs_no_reconall' : ('--surface-recon-method none' , '24.2.0' ),
33
29
}
34
30
35
31
class DeprecatedAction (Action ):
@@ -393,19 +389,6 @@ def _str_none(val):
393
389
Useful for further Tedana processing post-NiBabies.""" ,
394
390
)
395
391
396
- g_conf .add_argument (
397
- '--bold2t1w-init' ,
398
- action = DeprecatedAction ,
399
- choices = ['register' , 'header' ],
400
- help = 'Deprecated - use `--bold2anat-init` instead.' ,
401
- )
402
- g_conf .add_argument (
403
- '--bold2t1w-dof' ,
404
- action = DeprecatedAction ,
405
- choices = [6 , 9 , 12 ],
406
- type = int ,
407
- help = 'Deprecated - use `--bold2anat-dof` instead.' ,
408
- )
409
392
g_conf .add_argument (
410
393
'--bold2anat-init' ,
411
394
choices = ['auto' , 't1w' , 't2w' , 'header' ],
@@ -624,12 +607,6 @@ def _str_none(val):
624
607
'Optionally, the number of grayordinate can be specified '
625
608
'(default is 91k, which equates to 2mm resolution)' ,
626
609
)
627
- g_surfs_xor .add_argument (
628
- '--fs-no-reconall' ,
629
- action = DeprecatedAction ,
630
- dest = 'run_reconall' ,
631
- help = 'Deprecated - use `--surface-recon-method none` instead.' ,
632
- )
633
610
634
611
g_other = parser .add_argument_group ('Other options' )
635
612
g_other .add_argument (
@@ -754,12 +731,6 @@ def _str_none(val):
754
731
metavar = 'FILE' ,
755
732
help = 'A JSON file for customizing the derivatives queries.' ,
756
733
)
757
- g_baby .add_argument (
758
- '--force-reconall' ,
759
- default = False ,
760
- action = DeprecatedAction ,
761
- help = 'Deprecated - use `--surface-recon-method freesurfer` instead.' ,
762
- )
763
734
g_baby .add_argument (
764
735
'--surface-recon-method' ,
765
736
choices = ('auto' , 'infantfs' , 'freesurfer' , 'mcribs' , None ),
0 commit comments