Skip to content

Commit 1cae2bd

Browse files
committed
fix: avoid loading as x5
1 parent 1a2c3f7 commit 1cae2bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabies/utils/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def load_transforms(xfm_paths: list[Path], inverse: list[bool]) -> nt.base.Trans
2020
path = Path(path)
2121
if path.suffix == '.h5':
2222
# Load as a TransformChain
23-
xfm = nt.manip.load(path)
23+
xfm = nt.manip.load(path, fmt='h5')
2424
else:
2525
xfm = nt.linear.load(path)
2626
if inv:

0 commit comments

Comments
 (0)