flatironinstitute / flatironinstitute/CaImAn-MATLAB

run_CNMF_patches indices compatibility

Open
#112 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MATLAB
Stars
261
Forks
152
PR merge metrics
No merged PRs in 30d

Description

Hello, I ran into an error when combining the results after running CNMF on each patch. The error messages is replicated below:

> Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
>
> Error in run_CNMF_patches (line 156)
> B(patch_lin_idx,i) = RESULTS(i).b;
>
> Error in run_pipeline (line 166)
> [A,b,C,f,S,P,RESULTS,YrA] = run_CNMF_patches(Y,K,patches,tau,0,options);

Because of the parfor, it seems I cannot debug the code at this line. Is there a way to figure what's going wrong here?

Thank you so much in advance for your time and help!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.