Skip to content

Commit 1c74669

Browse files
authored
Update nitransforms/io/itk.py
1 parent 8e7c567 commit 1c74669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitransforms/io/itk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def from_h5obj(cls, fileobj, check=True, only_linear=False):
423423
hdr.set_data_dtype("float")
424424

425425
xfm_list.append(
426-
Nifti1Image(field.astype("float"), affine @ LPS, hdr)
426+
Nifti1Image(field.astype("float"), LPS @ affine, hdr)
427427
)
428428
continue
429429

0 commit comments

Comments
 (0)