@@ -1156,6 +1156,9 @@ def init_func_preproc_wf(bold_file, has_fieldmap=False, existing_derivatives=Non
1156
1156
("outputnode.boldref_file" , "inputnode.target_ref" )]),
1157
1157
(initial_boldref_wf , coeff2epi_wf , [
1158
1158
("outputnode.boldref_mask" , "inputnode.target_mask" )]), # skull-stripped brain
1159
+ (initial_boldref_wf , unwarp_wf , [
1160
+ ("outputnode.boldref_file" , "inputnode.distorted_ref" ),
1161
+ ]),
1159
1162
(coeff2epi_wf , unwarp_wf , [
1160
1163
("outputnode.fmap_coeff" , "inputnode.fmap_coeff" )]),
1161
1164
(initial_boldref_wf , sdc_report , [("outputnode.boldref_file" , "before" )]),
@@ -1181,11 +1184,11 @@ def init_func_preproc_wf(bold_file, has_fieldmap=False, existing_derivatives=Non
1181
1184
]),
1182
1185
(unwarp_wf , bold_t1_trans_wf , [
1183
1186
# TEMPORARY: For the moment we can't use frame-wise fieldmaps
1184
- (("outputnode.fieldwarp " , pop_file ), "inputnode.fieldwarp" ),
1187
+ (("outputnode.fieldwarp_ref " , pop_file ), "inputnode.fieldwarp" ),
1185
1188
]),
1186
1189
(unwarp_wf , bold_std_trans_wf , [
1187
1190
# TEMPORARY: For the moment we can't use frame-wise fieldmaps
1188
- (("outputnode.fieldwarp " , pop_file ), "inputnode.fieldwarp" ),
1191
+ (("outputnode.fieldwarp_ref " , pop_file ), "inputnode.fieldwarp" ),
1189
1192
]),
1190
1193
])
1191
1194
# fmt:on
0 commit comments