@@ -241,7 +241,7 @@ def create_reg_workflow(name='registration'):
241241
242242 warpmean = pe .Node (ants .ApplyTransforms (),
243243 name = 'warpmean' )
244- warpmean .inputs .input_image_type = 3
244+ warpmean .inputs .input_image_type = 0
245245 warpmean .inputs .interpolation = 'Linear'
246246 warpmean .inputs .invert_transform_flags = [False , False ]
247247 warpmean .inputs .terminal_output = 'file'
@@ -257,7 +257,7 @@ def create_reg_workflow(name='registration'):
257257 warpall = pe .MapNode (ants .ApplyTransforms (),
258258 iterfield = ['input_image' ],
259259 name = 'warpall' )
260- warpall .inputs .input_image_type = 3
260+ warpall .inputs .input_image_type = 0
261261 warpall .inputs .interpolation = 'Linear'
262262 warpall .inputs .invert_transform_flags = [False , False ]
263263 warpall .inputs .terminal_output = 'file'
@@ -449,7 +449,7 @@ def create_fs_reg_workflow(name='registration'):
449449 Transform the mean image. First to anatomical and then to target
450450 """
451451 warpmean = Node (ants .ApplyTransforms (), name = 'warpmean' )
452- warpmean .inputs .input_image_type = 3
452+ warpmean .inputs .input_image_type = 0
453453 warpmean .inputs .interpolation = 'Linear'
454454 warpmean .inputs .invert_transform_flags = [False , False ]
455455 warpmean .inputs .terminal_output = 'file'
@@ -464,7 +464,7 @@ def create_fs_reg_workflow(name='registration'):
464464 warpall = pe .MapNode (ants .ApplyTransforms (),
465465 iterfield = ['input_image' ],
466466 name = 'warpall' )
467- warpall .inputs .input_image_type = 3
467+ warpall .inputs .input_image_type = 0
468468 warpall .inputs .interpolation = 'Linear'
469469 warpall .inputs .invert_transform_flags = [False , False ]
470470 warpall .inputs .terminal_output = 'file'
0 commit comments