nipy / nibabel

Python package to access a cacophony of neuro-imaging file formats
http://nipy.org/nibabel/
Other
647 stars 257 forks source link

Likely errors in gifti file write #230

Closed matthew-brett closed 10 years ago

matthew-brett commented 10 years ago

See : http://mail.scipy.org/pipermail/nipy-devel/2014-March/009914.html

We are probably writing gifti files to the wrong spec. We need to review and fix.

bpinsard commented 10 years ago

ok, have been posting on the list for similar error: I do not understand how to fix (the Recoder stuff) nibabel for that but the error is that it is writing GIFTI_ENDIAN_LITTLE instead of LittleEndian

so the error is either there: https://github.com/nipy/nibabel/blob/master/nibabel/gifti/gifti.py#L325 or there: https://github.com/nipy/nibabel/blob/master/nibabel/gifti/util.py#L36

but I do not want to break anything by changing either of the 2.