Skip to content

Commit fcb805b

Browse files
committed
fix: Adapt to transposed ndindex in nitransforms
1 parent ab58dc9 commit fcb805b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fmriprep/interfaces/resampling.py

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

571571
# Retrieve the RAS coordinates of the target space
572-
coordinates = nt.base.SpatialReference.factory(target).ndcoords.astype('f4').T
572+
coordinates = nt.base.SpatialReference.factory(target).ndcoords.astype('f4')
573573

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
"nipype >= 1.8.5",
2727
"nireports >= 24.1.0",
2828
"nitime >= 0.9",
29-
"nitransforms >= 24.1.1",
29+
"nitransforms >= 25.0.1",
3030
"niworkflows @ git+https://github.com/nipreps/niworkflows.git@master",
3131
"numpy >= 1.24",
3232
"packaging >= 24",

0 commit comments

Comments
 (0)