Skip to content

Commit 96305cf

Browse files
committed
enh: remove superfluous data type setting
1 parent d6ab0ef commit 96305cf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sdcflows/interfaces/fmap.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@ def au2rads(in_file, newpath=None):
566566
data[data > 2.0 * np.pi] = 2.0 * np.pi
567567
hdr.set_data_dtype(np.float32)
568568
hdr.set_xyzt_units('mm')
569-
hdr['datatype'] = 16
570569

571570
out_file = fname_presuffix(in_file, suffix='_rads', newpath=newpath)
572571
nb.Nifti1Image(data, im.affine, hdr).to_filename(out_file)

0 commit comments

Comments
 (0)