-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle Freesurfer Nifti1 header extension
write TAG_END_NIIHDREXTENSION at the end of extension data to avoid the data to be truncated: TAG_END_NIIHDREXTENSION (-1) data-length (1) '*' note: If the extension data has trailing null characters or zeros at the end, nibabel.nifti1.Nifti1Extension.get_content() will truncate the data. See https://github.com/nipy/nibabel/blob/master/nibabel/nifti1.py#L629C1-L630C1, line 629: 'evalue = evalue.rstrip(b'\x00')'
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters