@@ -242,7 +242,7 @@ def create_reg_workflow(name='registration'):
242
242
warpmean = pe .Node (ants .ApplyTransforms (),
243
243
name = 'warpmean' )
244
244
warpmean .inputs .input_image_type = 3
245
- warpmean .inputs .interpolation = 'BSpline '
245
+ warpmean .inputs .interpolation = 'Linear '
246
246
warpmean .inputs .invert_transform_flags = [False , False ]
247
247
warpmean .inputs .terminal_output = 'file'
248
248
@@ -258,7 +258,7 @@ def create_reg_workflow(name='registration'):
258
258
iterfield = ['input_image' ],
259
259
name = 'warpall' )
260
260
warpall .inputs .input_image_type = 3
261
- warpall .inputs .interpolation = 'BSpline '
261
+ warpall .inputs .interpolation = 'Linear '
262
262
warpall .inputs .invert_transform_flags = [False , False ]
263
263
warpall .inputs .terminal_output = 'file'
264
264
@@ -450,7 +450,7 @@ def create_fs_reg_workflow(name='registration'):
450
450
"""
451
451
warpmean = Node (ants .ApplyTransforms (), name = 'warpmean' )
452
452
warpmean .inputs .input_image_type = 3
453
- warpmean .inputs .interpolation = 'BSpline '
453
+ warpmean .inputs .interpolation = 'Linear '
454
454
warpmean .inputs .invert_transform_flags = [False , False ]
455
455
warpmean .inputs .terminal_output = 'file'
456
456
warpmean .inputs .args = '--float'
@@ -465,7 +465,7 @@ def create_fs_reg_workflow(name='registration'):
465
465
iterfield = ['input_image' ],
466
466
name = 'warpall' )
467
467
warpall .inputs .input_image_type = 3
468
- warpall .inputs .interpolation = 'BSpline '
468
+ warpall .inputs .interpolation = 'Linear '
469
469
warpall .inputs .invert_transform_flags = [False , False ]
470
470
warpall .inputs .terminal_output = 'file'
471
471
warpall .inputs .args = '--float'
@@ -1028,10 +1028,7 @@ def get_subs(subject_id, conds, run_id, model_id, task_id):
1028
1028
modelspec .inputs .high_pass_filter_cutoff = hpcutoff
1029
1029
modelfit .inputs .inputspec .bases = {'dgamma' : {'derivs' : use_derivatives }}
1030
1030
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
1035
1032
1036
1033
datasink .inputs .base_directory = output_dir
1037
1034
return wf
0 commit comments