John or Tim can you comment on this?

Thanks,

Matt.

From: Russ Poldrack <[email protected]>
Date: Saturday, March 1, 2014 3:13 PM
To: "[email protected]" <[email protected]>
Subject: [HCP-Users] nibabel gifti files with workbench

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:


cheers
russ

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to