@@ -316,14 +316,26 @@ def init_func_fit_reports_wf(
316316 mem_gb = 1 ,
317317 )
318318
319+ fmap_boldref = pe .Node (
320+ ApplyTransforms (
321+ dimension = 3 ,
322+ default_value = 0 ,
323+ float = True ,
324+ invert_transform_flags = [True ],
325+ interpolation = 'LanczosWindowedSinc' ,
326+ ),
327+ name = 'fmap_boldref' ,
328+ mem_gb = 1 ,
329+ )
330+
319331 # SDC1
320332 sdcreg_report = pe .Node (
321333 FieldmapReportlet (
322334 reference_label = 'BOLD reference' ,
323335 moving_label = 'Fieldmap reference' ,
324336 show = 'both' ,
325337 ),
326- name = 'sdecreg_report ' ,
338+ name = 'sdcreg_report ' ,
327339 mem_gb = 0.1 ,
328340 )
329341
@@ -360,19 +372,23 @@ def init_func_fit_reports_wf(
360372 name = 'ds_sdc_report' ,
361373 )
362374
363- # fmt:off
364375 workflow .connect ([
365376 (inputnode , fmapref_boldref , [
366377 ('fmap_ref' , 'input_image' ),
367378 ('coreg_boldref' , 'reference_image' ),
368379 ('boldref2fmap_xfm' , 'transforms' ),
369380 ]),
381+ (inputnode , fmap_boldref , [
382+ ('fieldmap' , 'input_image' ),
383+ ('coreg_boldref' , 'reference_image' ),
384+ ('boldref2fmap_xfm' , 'transforms' ),
385+ ]),
370386 (inputnode , sdcreg_report , [
371387 ('sdc_boldref' , 'reference' ),
372- ('fieldmap' , 'fieldmap' ),
373388 ('bold_mask' , 'mask' ),
374389 ]),
375390 (fmapref_boldref , sdcreg_report , [('output_image' , 'moving' )]),
391+ (fmap_boldref , sdcreg_report , [('output_image' , 'fieldmap' )]),
376392 (inputnode , ds_sdcreg_report , [('source_file' , 'source_file' )]),
377393 (sdcreg_report , ds_sdcreg_report , [('out_report' , 'in_file' )]),
378394 (inputnode , sdc_report , [
@@ -382,8 +398,7 @@ def init_func_fit_reports_wf(
382398 (boldref_wm , sdc_report , [('output_image' , 'wm_seg' )]),
383399 (inputnode , ds_sdc_report , [('source_file' , 'source_file' )]),
384400 (sdc_report , ds_sdc_report , [('out_report' , 'in_file' )]),
385- ])
386- # fmt:on
401+ ]) # fmt:skip
387402
388403 # EPI-T1 registration
389404 # Resample T1w image onto EPI-space
0 commit comments