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 db1b250 commit c0e7f27Copy full SHA for c0e7f27
nitransforms/linear.py
@@ -448,7 +448,7 @@ def apply(
448
spatialimage = _nbload(str(spatialimage))
449
450
# Avoid opening the data array just yet
451
- input_dtype = spatialimage.header.get_data_dtype()
+ input_dtype = nb.arrayproxy.get_obj_dtype(spatialimage.dataobj)
452
output_dtype = output_dtype or input_dtype
453
454
# Prepare physical coordinates of input (grid, points)
0 commit comments