8
8
from nipype .interfaces import utility as niu
9
9
10
10
from niworkflows .engine .workflows import LiterateWorkflow as Workflow
11
+ from niworkflows .anat .coregistration import init_bbreg_wf
11
12
from niworkflows .interfaces .bids import BIDSInfo , BIDSFreeSurferDir
12
13
from niworkflows .utils .misc import fix_multi_T1w_source_name
13
14
from niworkflows .utils .spaces import Reference
14
15
from smriprep .workflows .anatomical import init_anat_preproc_wf
15
- from fmriprep .workflows .bold .registration import init_bbreg_wf
16
16
17
17
from ..interfaces import DerivativesDataSink , BIDSDataGrabber
18
18
from ..interfaces .reports import SubjectSummary , AboutSummary
@@ -362,10 +362,9 @@ def init_single_subject_wf(subject_id):
362
362
t1w_brain = pe .Node (ApplyMask (), name = "t1w_brain" )
363
363
364
364
bbr_wf = init_bbreg_wf (
365
- bold2t1w_dof = 6 ,
366
- bold2t1w_init = config .workflow .dwi2t1w_init ,
365
+ debug = config . execution . debug ,
366
+ epi2t1w_init = config .workflow .dwi2t1w_init ,
367
367
omp_nthreads = config .nipype .omp_nthreads ,
368
- use_bbr = True ,
369
368
)
370
369
371
370
ds_report_reg = pe .Node (
@@ -388,8 +387,6 @@ def _bold_reg_suffix(fallback):
388
387
(early_b0ref_wf , bbr_wf , [
389
388
("outputnode.dwi_reference" , "inputnode.in_file" )
390
389
]),
391
- (t1w_brain , bbr_wf , [("out_file" , "inputnode.t1w_brain" )]),
392
- (anat_preproc_wf , bbr_wf , [("outputnode.t1w_dseg" , "inputnode.t1w_dseg" )]),
393
390
(fsinputnode , bbr_wf , [("subjects_dir" , "inputnode.subjects_dir" )]),
394
391
(bids_info , bbr_wf , [(("subject" , _prefix ), "inputnode.subject_id" )]),
395
392
(anat_preproc_wf , bbr_wf , [
0 commit comments