We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0e7f27 commit 2c36d08Copy full SHA for 2c36d08
nitransforms/linear.py
@@ -14,6 +14,7 @@
14
15
from nibabel.loadsave import load as _nbload
16
from nibabel.affines import from_matvec
17
+from nibabel.arrayproxy import get_obj_dtype
18
19
from nitransforms.base import (
20
ImageGrid,
@@ -448,7 +449,7 @@ def apply(
448
449
spatialimage = _nbload(str(spatialimage))
450
451
# Avoid opening the data array just yet
- input_dtype = nb.arrayproxy.get_obj_dtype(spatialimage.dataobj)
452
+ input_dtype = get_obj_dtype(spatialimage.dataobj)
453
output_dtype = output_dtype or input_dtype
454
455
# Prepare physical coordinates of input (grid, points)
0 commit comments