CANlab_help_examples icon indicating copy to clipboard operation
CANlab_help_examples copied to clipboard

error using prep_4_apply_signatures_and_save.m

Open s-kline opened this issue 3 years ago • 0 comments

Hi, I think this is a joint issue with this repository and the Neuroimaging_Pattern_Masks one, wasn't sure where to post this. When I try to run prep_4_apply_signatures_and_save, I get an error message, connected to missing images. The images from Wager et al. 2013 NPS and 2017 Lopez-Sola seem to not be in the Neuroimaging_Pattern_Masks directory or found anywhere else. I pasted the full error message below.

Extracting all signatures

CANNOT FIND IMAGES weights_NSF_grouppred_cvpcr.img Error using load_image_set>check_image_names_get_full_path (line 361) Exiting.

Error in load_image_set>load_npsplus (line 622) imagenames = check_image_names_get_full_path(imagenames);

Error in load_image_set (line 248) [image_obj, networknames, imagenames] = load_npsplus;

Error in apply_all_signatures (line 138) [signature_obj, signaturenames, imgnames] = load_image_set(image_set);

Error in prep_4_apply_signatures_and_save (line 132) DAT.SIG_conditions.raw.dotproduct = apply_all_signatures(DATA_OBJ, 'conditionnames', DAT.conditions);

s-kline avatar Jul 21 '20 08:07 s-kline