Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Porblem with normcorre: Index in position 3 is invalid. Array indices must be positive integers or logical values. #114

Open
Mtkostecki opened this issue Feb 3, 2021 · 0 comments

Comments

@Mtkostecki
Copy link

Mtkostecki commented Feb 3, 2021

  • Describe the issue that you are experiencing
    Hello, I have a problem during a first phase (motion correction). At some point it gives me an error as below. I have all my h5 and shifts files in my folder at this point. When I continue with the analysis, I have another error at downsampling. When I continue, it turns out that the whole program analyzes just 30 of my 38 files, just like some of them are broken, which seems highly unlikely, as they are just cut out from the whole movie; this analysis worked for the data from another mouse that was processed identically.

  • Copy error log below
    Index in position 3 is invalid. Array indices must be positive integers or logical values.

Error in normcorre_batch_even (line 269)
mem_buffer(otherdims{:},rem_mem-lY+1:rem_mem) = cast(Mf,data_type);

Error in run_pipeline (line 36)
[M,shifts,template,options_mc,col_shift] = normcorre_batch_even(fullname,options_mc,template);

The second error:
Error using run_pipeline (line 85)
Cannot index into 'Y' because indices cannot be empty.

Error using uiimport (line 74)
Cannot open the Import Wizard on a file while the Import Wizard is open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant