@@ -57,6 +57,7 @@ def init_bold_wf(
57
57
bold_series : list [str ],
58
58
precomputed : dict = None ,
59
59
fieldmap_id : str | None = None ,
60
+ jacobian : bool = False ,
60
61
) -> pe .Workflow :
61
62
"""
62
63
This workflow controls the functional preprocessing stages of *fMRIPrep*.
@@ -253,6 +254,7 @@ def init_bold_wf(
253
254
bold_series = bold_series ,
254
255
precomputed = precomputed ,
255
256
fieldmap_id = fieldmap_id ,
257
+ jacobian = jacobian ,
256
258
omp_nthreads = omp_nthreads ,
257
259
)
258
260
@@ -292,6 +294,7 @@ def init_bold_wf(
292
294
bold_native_wf = init_bold_native_wf (
293
295
bold_series = bold_series ,
294
296
fieldmap_id = fieldmap_id ,
297
+ jacobian = jacobian ,
295
298
omp_nthreads = omp_nthreads ,
296
299
)
297
300
@@ -383,7 +386,7 @@ def init_bold_wf(
383
386
fieldmap_id = fieldmap_id if not multiecho else None ,
384
387
omp_nthreads = omp_nthreads ,
385
388
mem_gb = mem_gb ,
386
- jacobian = 'fmap- jacobian' not in config . workflow . ignore ,
389
+ jacobian = jacobian ,
387
390
name = 'bold_anat_wf' ,
388
391
)
389
392
bold_anat_wf .inputs .inputnode .resolution = 'native'
@@ -443,7 +446,7 @@ def init_bold_wf(
443
446
fieldmap_id = fieldmap_id if not multiecho else None ,
444
447
omp_nthreads = omp_nthreads ,
445
448
mem_gb = mem_gb ,
446
- jacobian = 'fmap- jacobian' not in config . workflow . ignore ,
449
+ jacobian = jacobian ,
447
450
name = 'bold_std_wf' ,
448
451
)
449
452
ds_bold_std_wf = init_ds_volumes_wf (
@@ -550,7 +553,7 @@ def init_bold_wf(
550
553
fieldmap_id = fieldmap_id if not multiecho else None ,
551
554
omp_nthreads = omp_nthreads ,
552
555
mem_gb = mem_gb ,
553
- jacobian = 'fmap- jacobian' not in config . workflow . ignore ,
556
+ jacobian = jacobian ,
554
557
name = 'bold_MNI6_wf' ,
555
558
)
556
559
0 commit comments