devel
devel > gifti_valid_dims dim=1 check
Mar 11, 2010 08:03 PM | Nick Schmansky
gifti_valid_dims dim=1 check
i noticed section 2.3.4.4 where it says that the last dimension
shall never be one (except in the case of dim[0]), and i noticed
that my freesurfer gifti io code was violating that rule. i have
since fixed that. i have always called gifti_valid_gifti_image
while reading and before writing, but i just noticed that the
routine gifti_valid_dims does not check for the dim = 1 rule.
so my suggestion is, can gifti_valid_dims be modified to check for dim[] = 1 (except dim[0] is allowed to be 1) and return error?
so my suggestion is, can gifti_valid_dims be modified to check for dim[] = 1 (except dim[0] is allowed to be 1) and return error?
Threaded View
Title | Author | Date |
---|---|---|
Nick Schmansky | Mar 11, 2010 | |
Richard Reynolds | Mar 11, 2010 | |
Nick Schmansky | Mar 11, 2010 | |
John Harwell | Mar 12, 2010 | |
Richard Reynolds | Mar 12, 2010 | |