Skip to content

Commit d085556

Browse files
committed
adds ushort to the mgz reader
1 parent db4c859 commit d085556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nibabel/freesurfer/mghformat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
(4, 'int16', '>i2', '2', 'MRI_SHORT', np.int16, np.dtype('i2'), np.dtype('>i2')),
6363
(1, 'int32', '>i4', '4', 'MRI_INT', np.int32, np.dtype('i4'), np.dtype('>i4')),
6464
(3, 'float', '>f4', '4', 'MRI_FLOAT', np.float32, np.dtype('f4'), np.dtype('>f4')),
65+
(10, 'int16', '>i2', '2', 'MRI_SHORT', np.int16, np.dtype('i2'), np.dtype('>i2')),
6566
)
6667

6768
# make full code alias bank, including dtype column

0 commit comments

Comments
 (0)