Skip to content

Commit 1616a35

Browse files
Julien MarabottoJulien Marabotto
authored andcommitted
fix: pass tests
1 parent e47a476 commit 1616a35

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

nitransforms/resampling.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def apply(
114114
if data.ndim < transform.ndim:
115115
data = data[..., np.newaxis]
116116
elif data_nvols > 1 and data_nvols != xfm_nvols:
117-
import pdb; pdb.set_trace()
118117
raise ValueError(
119118
"The fourth dimension of the data does not match the transform's shape."
120119
)

nitransforms/tests/test_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def test_SurfaceMesh(testdata_path):
186186

187187
with pytest.raises(ValueError):
188188
SurfaceMesh(nb.load(img_path))
189-
"""
189+
190190
with pytest.raises(TypeError):
191191
SurfaceMesh(nb.load(shape_path))
192-
"""

0 commit comments

Comments
 (0)