Re: [Freesurfer] read_fscolorlut

2011-11-17 Thread Bruce Fischl
thanks Don, I put your fix in Bruce On Thu, 17 Nov 2011, Don Hagler wrote: FYI, in version 5.1.0, FreeSurferColorLUT.txt has a space (" ") instead of an empty line at line 1189.  This causes the matlab funciton read_fscolorlut to throw an error. An easy fix is to change this line:     if(~isem

[Freesurfer] read_fscolorlut

2011-11-17 Thread Don Hagler
FYI, in version 5.1.0, FreeSurferColorLUT.txt has a space (" ") instead of an empty line at line 1189. This causes the matlab funciton read_fscolorlut to throw an error. An easy fix is to change this line: if(~isempty(tline) & tline(1) ~= '#') break; end to this: if(~isempty(deblank(t