flatironinstitute / CaImAn-MATLAB

Complete Matlab pipeline for large scale calcium imaging data analysis
GNU General Public License v2.0
252 stars 147 forks source link

Error in run_CNMF_patches (line 121) - [idx, value] = fetchNext(future_results); #105

Closed connorjohnson1 closed 4 years ago

connorjohnson1 commented 4 years ago

Here is the full error I received:

Error using parallel.FevalFuture/fetchNext (line 217)
The function evaluation completed with an error.

Error in run_CNMF_patches (line 121)
        [idx, value] = fetchNext(future_results);

Error in run_pipeline (line 127)
[A,b,C,f,S,P,RESULTS,YrA] = run_CNMF_patches(data.Y,K,patches,tau,0,options);  % do not
perform deconvolution here since

Caused by:
    Error using initialize_components (line 124)
    Too many input arguments.

If anyone can help find the cause of the error it would be greatly appreciated! And if you have any further questions I would be happy to answer. Thank you so much.

epnev commented 4 years ago

@connorjohnson1 Please try the solution described here: https://github.com/flatironinstitute/CaImAn-MATLAB/issues/91#issuecomment-475033765

connorjohnson1 commented 4 years ago

Thank you! This worked.