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 6d54618 commit 419998aCopy full SHA for 419998a
nibabel/streamlines/trk.py
@@ -106,7 +106,7 @@ def get_affine_trackvis_to_rasmm(header):
106
if hasattr(vox_order, 'item'): # structured array
107
vox_order = header[Field.VOXEL_ORDER].item()
108
affine_ornt = "".join(aff2axcodes(header[Field.VOXEL_TO_RASMM]))
109
- header_ornt = axcodes2ornt(vox_order.decode('latin1'))
+ header_ornt = axcodes2ornt(vox_order.decode('latin1').upper())
110
affine_ornt = axcodes2ornt(affine_ornt)
111
ornt = nib.orientations.ornt_transform(header_ornt, affine_ornt)
112
M = nib.orientations.inv_ornt_aff(ornt, header[Field.DIMENSIONS])
0 commit comments