hi all - it turns out that gifti files created by nibabel.gifti.giftiio are not readable by connectome workbench, due to two main problems. first, the files generated by nibabel use the endian code 'GIFTI_ENDIAN_LITTLE' whereas workbench seems to require the alternate code 'LittleEndian'. second, nibabel inserts line breaks with the <Data> section of the file, but workbench doesn't seem to be able to handle those. I don't know the gifti standard well enough to know which of these is breaking the standard, but it would be great if the workbench could handle the files generated by nibabel. in the meantime I have generated a hacky little script that can fix the files generated by nibabel to make them compatible with the workbench:
https://github.com/poldrack/wbench/blob/master/wbify_gifti.py cheers russ _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
