@@ -316,14 +316,26 @@ def init_func_fit_reports_wf(
316
316
mem_gb = 1 ,
317
317
)
318
318
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
+
319
331
# SDC1
320
332
sdcreg_report = pe .Node (
321
333
FieldmapReportlet (
322
334
reference_label = 'BOLD reference' ,
323
335
moving_label = 'Fieldmap reference' ,
324
336
show = 'both' ,
325
337
),
326
- name = 'sdecreg_report ' ,
338
+ name = 'sdcreg_report ' ,
327
339
mem_gb = 0.1 ,
328
340
)
329
341
@@ -360,19 +372,23 @@ def init_func_fit_reports_wf(
360
372
name = 'ds_sdc_report' ,
361
373
)
362
374
363
- # fmt:off
364
375
workflow .connect ([
365
376
(inputnode , fmapref_boldref , [
366
377
('fmap_ref' , 'input_image' ),
367
378
('coreg_boldref' , 'reference_image' ),
368
379
('boldref2fmap_xfm' , 'transforms' ),
369
380
]),
381
+ (inputnode , fmap_boldref , [
382
+ ('fieldmap' , 'input_image' ),
383
+ ('coreg_boldref' , 'reference_image' ),
384
+ ('boldref2fmap_xfm' , 'transforms' ),
385
+ ]),
370
386
(inputnode , sdcreg_report , [
371
387
('sdc_boldref' , 'reference' ),
372
- ('fieldmap' , 'fieldmap' ),
373
388
('bold_mask' , 'mask' ),
374
389
]),
375
390
(fmapref_boldref , sdcreg_report , [('output_image' , 'moving' )]),
391
+ (fmap_boldref , sdcreg_report , [('output_image' , 'fieldmap' )]),
376
392
(inputnode , ds_sdcreg_report , [('source_file' , 'source_file' )]),
377
393
(sdcreg_report , ds_sdcreg_report , [('out_report' , 'in_file' )]),
378
394
(inputnode , sdc_report , [
@@ -382,8 +398,7 @@ def init_func_fit_reports_wf(
382
398
(boldref_wm , sdc_report , [('output_image' , 'wm_seg' )]),
383
399
(inputnode , ds_sdc_report , [('source_file' , 'source_file' )]),
384
400
(sdc_report , ds_sdc_report , [('out_report' , 'in_file' )]),
385
- ])
386
- # fmt:on
401
+ ]) # fmt:skip
387
402
388
403
# EPI-T1 registration
389
404
# Resample T1w image onto EPI-space
0 commit comments