File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -591,6 +591,14 @@ def init_bold_fit_wf(
591
591
config .loggers .workflow .info ('Found coregistration reference - skipping Stage 3' )
592
592
regref_buffer .inputs .boldref = precomputed ['coreg_boldref' ]
593
593
594
+ # TODO: Allow precomputed bold masks to be passed
595
+ # Also needs consideration for how it interacts above
596
+ skullstrip_precomp_ref_wf = init_skullstrip_bold_wf (name = 'skullstrip_precomp_ref_wf' )
597
+ skullstrip_precomp_ref_wf .inputs .inputnode .in_file = precomputed ['coreg_boldref' ]
598
+ workflow .connect ([
599
+ (skullstrip_precomp_ref_wf , regref_buffer , [('outputnode.mask_file' , 'boldmask' )])
600
+ ]) # fmt:skip
601
+
594
602
if not boldref2anat_xform :
595
603
# calculate BOLD registration to T1w
596
604
bold_reg_wf = init_bold_reg_wf (
You can’t perform that action at this time.
0 commit comments