cortex-lab / Suite2P

Tools for processing 2P recordings
Other
120 stars 65 forks source link

Undefined function or variable 'codes' #147

Closed JakeHeffley closed 5 years ago

JakeHeffley commented 5 years ago

I get the following error when I try to run suite 2P:

Undefined function or variable 'codes'.

Error in sourceryAddon (line 23) Ucell = U0 - reshape(neu' S', size(U0)) - reshape(double(codes') L', size(U0));

Error in sourcery (line 211) sourceryAddon;

Error in run_pipeline (line 67) [ops, stat, model] = sourcery(ops);

Error in master_file (line 102) run_pipeline(db, ops0);

In line 111 of sourcery, numel(ind)==0 and the while loop breaks on the first iteration. This means that the variable 'codes' is never defined. Do you know why this could be happening? I am attempting to analyze 5 tiff files of 5000 frame each. 16 bit tiff files.