Skip to content

Commit b0ca8ef

Browse files
committed
Apply session-to-longitudinal template xfm
1 parent 0cdaed6 commit b0ca8ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/rbc/core/longitudinal/transform.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def anat_transform(in_file: Path, template: Path, xfm: Path) -> Path:
3636
return ants.ants_apply_transforms(
3737
reference_image=template,
3838
input_image=in_file,
39+
transform=[ants.ants_apply_transforms_transform_file_name(xfm)],
3940
output=ants.ants_apply_transforms_warped_output("subject_to_template.nii.gz"),
4041
dimensionality=3,
4142
interpolation=ants.ants_apply_transforms_linear(),

0 commit comments

Comments
 (0)