@@ -242,7 +242,7 @@ def create_reg_workflow(name='registration'):
242242 warpmean = pe .Node (ants .ApplyTransforms (),
243243 name = 'warpmean' )
244244 warpmean .inputs .input_image_type = 3
245- warpmean .inputs .interpolation = 'BSpline '
245+ warpmean .inputs .interpolation = 'Linear '
246246 warpmean .inputs .invert_transform_flags = [False , False ]
247247 warpmean .inputs .terminal_output = 'file'
248248
@@ -258,7 +258,7 @@ def create_reg_workflow(name='registration'):
258258 iterfield = ['input_image' ],
259259 name = 'warpall' )
260260 warpall .inputs .input_image_type = 3
261- warpall .inputs .interpolation = 'BSpline '
261+ warpall .inputs .interpolation = 'Linear '
262262 warpall .inputs .invert_transform_flags = [False , False ]
263263 warpall .inputs .terminal_output = 'file'
264264
@@ -450,7 +450,7 @@ def create_fs_reg_workflow(name='registration'):
450450 """
451451 warpmean = Node (ants .ApplyTransforms (), name = 'warpmean' )
452452 warpmean .inputs .input_image_type = 3
453- warpmean .inputs .interpolation = 'BSpline '
453+ warpmean .inputs .interpolation = 'Linear '
454454 warpmean .inputs .invert_transform_flags = [False , False ]
455455 warpmean .inputs .terminal_output = 'file'
456456 warpmean .inputs .args = '--float'
@@ -465,7 +465,7 @@ def create_fs_reg_workflow(name='registration'):
465465 iterfield = ['input_image' ],
466466 name = 'warpall' )
467467 warpall .inputs .input_image_type = 3
468- warpall .inputs .interpolation = 'BSpline '
468+ warpall .inputs .interpolation = 'Linear '
469469 warpall .inputs .invert_transform_flags = [False , False ]
470470 warpall .inputs .terminal_output = 'file'
471471 warpall .inputs .args = '--float'
@@ -1028,10 +1028,7 @@ def get_subs(subject_id, conds, run_id, model_id, task_id):
10281028 modelspec .inputs .high_pass_filter_cutoff = hpcutoff
10291029 modelfit .inputs .inputspec .bases = {'dgamma' : {'derivs' : use_derivatives }}
10301030 modelfit .inputs .inputspec .model_serial_correlations = True
1031- if version < 507 :
1032- modelfit .inputs .inputspec .film_threshold = 1000
1033- else :
1034- modelfit .inputs .inputspec .film_threshold = - 1000
1031+ modelfit .inputs .inputspec .film_threshold = 1000
10351032
10361033 datasink .inputs .base_directory = output_dir
10371034 return wf
0 commit comments