Skip to content

Commit e3a61a3

Browse files
committed
fix: bump nitransforms and adapt to transposed coordinates
1 parent 3b88bd4 commit e3a61a3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

nibabies/interfaces/resampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def resample_image(
561561
hmc = []
562562

563563
# Retrieve the RAS coordinates of the target space
564-
coordinates = nt.base.SpatialReference.factory(target).ndcoords.astype('f4').T
564+
coordinates = nt.base.SpatialReference.factory(target).ndcoords.astype('f4')
565565

566566
# We will operate in voxel space, so get the source affine
567567
vox2ras = source.affine

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies = [
2424
"nipype >= 1.8.5",
2525
"nireports >= 23.2.0",
2626
"nitime",
27-
"nitransforms >= 24.1.1",
27+
"nitransforms >= 25.0.1",
2828
"niworkflows >= 1.14.1",
2929
"numpy >= 1.21.0",
3030
"packaging",
@@ -35,7 +35,7 @@ dependencies = [
3535
"sdcflows >= 2.13.0",
3636
"smriprep >= 0.19.1",
3737
"tedana >= 23.0.2",
38-
"templateflow >= 24.2.0",
38+
"templateflow >= 25.0.3",
3939
"toml",
4040
"typing_extensions; python_version<'3.11'",
4141
]

0 commit comments

Comments
 (0)