@@ -80,7 +80,7 @@ def get_parser():
80
80
81
81
g_perfm = parser .add_argument_group ('Options to handle performance' )
82
82
g_perfm .add_argument ('--debug' , action = 'store_true' , default = False ,
83
- help = 'run debug version of workflow ' )
83
+ help = 'DEPRECATED - Does not do what you want. ' )
84
84
g_perfm .add_argument ('--nthreads' , '--n_cpus' , '-n-cpus' , action = 'store' , type = int ,
85
85
help = 'maximum number of threads across all processes' )
86
86
g_perfm .add_argument ('--omp-nthreads' , action = 'store' , type = int , default = 0 ,
@@ -238,6 +238,9 @@ def get_parser():
238
238
'the FMRIPREP developers. This information helps to '
239
239
'improve FMRIPREP and provides an indicator of real '
240
240
'world usage crucial for obtaining funding.' )
241
+ g_perfm .add_argument ('--sloppy' , action = 'store_true' , default = False ,
242
+ help = 'Use low-quality tools for speed '
243
+ '- TESTING ONLY' )
241
244
242
245
return parser
243
246
@@ -517,13 +520,15 @@ def build_workflow(opts, retval):
517
520
'Option --output-grid-reference is deprecated, please use '
518
521
'--template-resampling-grid' )
519
522
template_out_grid = template_out_grid or opts .output_grid_reference
523
+ if opts .debug is not None :
524
+ logger .warning ('Option --debug is deprecated and has no effect' )
520
525
521
526
retval ['workflow' ] = init_fmriprep_wf (
522
527
subject_list = subject_list ,
523
528
task_id = opts .task_id ,
524
529
run_uuid = run_uuid ,
525
530
ignore = opts .ignore ,
526
- debug = opts .debug ,
531
+ debug = opts .sloppy ,
527
532
low_mem = opts .low_mem ,
528
533
anat_only = opts .anat_only ,
529
534
longitudinal = opts .longitudinal ,
0 commit comments