File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 77
88import numpy as np
99import nibabel as nb
10- from nitransforms .resampling import apply
1110from nitransforms .base import TransformError
1211from nitransforms .nonlinear import (
1312 BSplineFieldTransform ,
@@ -62,17 +61,8 @@ def test_bsplines_references(testdata_path):
6261 testdata_path / "someones_bspline_coefficients.nii.gz"
6362 ).to_field ()
6463
65- with pytest .raises (TransformError ):
66- apply (
67- BSplineFieldTransform (
68- testdata_path / "someones_bspline_coefficients.nii.gz"
69- ),
70- testdata_path / "someones_anatomy.nii.gz" ,
71- )
72-
73- apply (
74- BSplineFieldTransform (testdata_path / "someones_bspline_coefficients.nii.gz" ),
75- testdata_path / "someones_anatomy.nii.gz" ,
64+ BSplineFieldTransform (
65+ testdata_path / "someones_bspline_coefficients.nii.gz" ,
7666 reference = testdata_path / "someones_anatomy.nii.gz" ,
7767 )
7868
You can’t perform that action at this time.
0 commit comments