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 457edc4 commit 904ffc3Copy full SHA for 904ffc3
cortex/freesurfer.py
@@ -463,7 +463,7 @@ def parse_curv(filename):
463
"""
464
with open(filename, 'rb') as fp:
465
fp.seek(15)
466
- return np.fromstring(fp.read(), dtype='>f4').byteswap().newbyteorder()
+ return np.fromstring(fp.read(), dtype='>f4').byteswap().view(np.dtype('>f4').newbyteorder('='))
467
468
469
def parse_patch(filename):
0 commit comments