Commit 176c9696 authored by Christoph Arthofer's avatar Christoph Arthofer
Browse files

upgraded to new version of Filetree

parent 6d2250ee
......@@ -1213,7 +1213,7 @@ if __name__ == "__main__":
img_ref_T1brain_path = tree.get('T1_brain_affine_template')
img_ref_T1head_path = tree.get('T1_head_affine_template')
img_ref_T2head_path = tree.get('T2_head_affine_template')
img_ref_tensor_path = tree.get('T1_head_affine_template')
img_ref_tensor_path = tree.get('DTI_tensor_affine_template')
img_ref_T1brain_mask_path = tree.get('T1_brain_mask_weighted_affine_template')
else:
if it == 1:
......@@ -1227,7 +1227,7 @@ if __name__ == "__main__":
img_ref_T1brain_path = tree.get('T1_brain_nln_template')
img_ref_T1head_path = tree.get('T1_head_nln_template')
img_ref_T2head_path = tree.get('T2_head_nln_template')
img_ref_tensor_path = tree.get('T1_head_nln_template')
img_ref_tensor_path = tree.get('DTI_tensor_nln_template')
img_ref_T1brain_mask_path = tree.get('T1_brain_mask_weighted_nln_template')
avgwarp_prev_it_path = tree.get('avg_warp')
avgmask_prev_it_path = tree.get('T1_brain_mask_nln_template')
......@@ -1558,7 +1558,7 @@ if __name__ == "__main__":
for id in ls_ids:
tree = tree.update(sub_id=id, step_id='{:02d}'.format(step), it_id='{:02d}'.format(it))
cmd = 'vecreg -i ' + tree.get('data/DTI_tensor') + \
' -r ' + img_ref_tensor_path + \
' -r ' + img_ref_T1head_path + \
' -o ' + tree.get('warped_DTItensor') + \
' -w ' + tree.get('mmorf_warp_resampled_unbiased_full_DTI') + \
' --interp=spline \n'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment