help > RE: Error after 1st level analysis
Oct 30, 2019  12:10 AM | Alfonso Nieto-Castanon - Boston University
RE: Error after 1st level analysis
Hi Ben,

Sorry about that, I have not been able to replicate this error yet but I imagine it may arise in some unusual circumstances like having a first-level SBC analysis defined with no seeds or something along those lines. While I try to figure it out, the attached patch should at least stop this error from happening. Please let me know otherwise (this patch is for release 18b, to install it simply copy this file to the conn installation folder overwriting the file with the same name there)

Best
Alfonso
Originally posted by neuronerd:
Hi Alfonso,
Quick question - I've been using CONN quite a lot and really like it, so I'm perplexed why I'm suddenly getting this error after clicking 'done' at the 1st level analysis:
Error using matlab.graphics.primitive.Patch/set
Error setting property 'FaceColor' of class 'Patch':
Color value contains NaN, or element out of range 0.0 <= value <= 1.0

Error in conn_timedwaitbar (line 62)
set(findobj(b,'tag','patch'),'facecolor',(1-a)*[.2 .2 .8]+a*[.8 .8 .2]); %(1-a)*[5/6,2/6,1.5/6]+a*[1.5/6,5/6,2/6]);
Error in conn_waitbar (line 9)
else h=conn_timedwaitbar(varargin{:}); end
Error in conn_process (line 3975)
conn_waitbar(n/N,h,sprintf('Subject %d Condition %d',nsub,ncondition));
Error in conn_process (line 44)
case 'analyses_gui_seedandroi',conn_disp(['CONN: RUNNING ANALYSIS STEP (ROI-to-ROI or seed-to-voxel analyses)']); conn_process([10,11,15],varargin{:});
Error in conn (line 7420)
else conn_process('analyses_gui_seedandroi',CONN_x.Analysis); ispending=false;
Error in conn_menumanager (line 120)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});
CONN18.b
SPM12 + DEM FieldMap MEEGtools
Matlab v.2017a
project: CONN18.b
storage: 1844.8Gb available
spm @ /home/nir/Documents/MATLAB/spm12
conn @ /home/nir/Documents/MATLAB/conn/conn
Any advice would be greatly appreciated!
Ben
Attachment: conn_timedwaitbar.m

Threaded View

TitleAuthorDate
Benjamin Davidson Oct 29, 2019
RE: Error after 1st level analysis
Alfonso Nieto-Castanon Oct 30, 2019
Benjamin Davidson Oct 30, 2019