Skip to content

Commit e4ea798

Browse files
dPysoesteban
andauthored
Update dmriprep/utils/images.py
Co-Authored-By: Oscar Esteban <[email protected]>
1 parent 1e9c015 commit e4ea798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dmriprep/utils/images.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def median(in_file, newpath=None):
5050
nb.squeeze_image(img).to_filename(out_file)
5151
return out_file
5252

53-
median_data = np.median(img.get_fdata(dtype="float32"), axis=-1)
53+
median_data = np.median(img.get_fdata(), axis=-1)
5454

5555
hdr = img.header.copy()
5656
hdr.set_xyzt_units("mm")

0 commit comments

Comments
 (0)