Error in iimg_mask (line 59)
dat(~maskindx) = 0;
Error in iimg_threshold (line 169)
dat = iimg_mask(mask,dat,volInfo);
Error in iimg_multi_threshold (line 278)
[dat, volInfo] = iimg_threshold(inname, 'thr', current_thresh, 'k', szthresh(1), 'imgtype', imgtype, 'threshtype', threshtype, 'mask', mask);
Error in mediation_brain_results/doorthviews (line 638)
[clpos,tmp, clpos_extent] = iimg_multi_threshold(this_p_img, ...
Error in mediation_brain_results (line 278)
doorthviews();
Error in robust_results_batch (line 215)
[clpos, clneg, clpos_data, clneg_data, clpp2, clnn2] = mediation_brain_results ...
Error in robfit_results (line 21)
robust_results_batch('thresh', thresh, 'size', size, 'prune', 'mask', 'robust0003/rob_tmap_0001.img
Error in evalmxdom>instrumentAndRun (line 89)
text = evalc(evalstr);Error in evalmxdom (line 20)
[data,text,laste] = instrumentAndRun(file,cellBoundaries,imageDir,imagePrefix,options);
Error in publish (line 164)
dom = evalmxdom(file,dom,cellBoundaries,prefix,imageDir,outputDir,options);
Error in canlab_glm_publish_group_levels (line 59)
fout = publish(scriptfile, p);
Error in canlab_glm_publish>robfit_report (line 162)
canlab_glm_publish_group_levels
Error in canlab_glm_publish (line 81)
robfit_report(STARTINGDIR,robfitdirs,thresh,size);
Thanks,--
You received this message because you are subscribed to the Google Groups "WagerlabTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wagerlabtool...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to wagerlabtools+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "WagerlabTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wagerlabtools+unsubscribe@googlegroups.com.
dbstop if error
cd(my robust dir)
thresh = [.001 .005 .05];
size = [5 1 1];
robust_results_batch('thresh', thresh, 'size', size, 'prune', 'mask', 'rob_tmap_0001.img');
However, maskindx is a float matrix , not an int8 matrix which I believe is usually used for indexing. I converted it to an int8 matrix and it works ok.
My change to line 64 which fixes this and allows the script to finish running is: dat(~int8(maskindx)) = 0;
The errors on the server seem to be resulting from the same line of robust_results_batch, but it seems to be an older version. To fix it there, I will probably just check out the latest version of the repo and make the same change that fixed it on my laptop.
This is the full traceback of the error on the server: