-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error loading frame for modelPreprocessMovie #122
Comments
Thanks for reaching out, could you send an example avi (e.g. just a Box or Dropbox link)? And is this a color (RGB) AVI? That'll help me debug what the issue is as CIAtah should support most AVIs unless not supported by the OS or certain specific codecs. |
Thanks for that fast reply! https://drive.google.com/drive/folders/1_m-xqXIz2sgGRVuCOwvI9LpTeThbpgXU?usp=sharing |
I took another look today and realized theres a similar "variable does not support dot indexing" error raised in io.readFrame (139) for the avi case. I know you said it wasnt optimal, but things do run if I comment that same thisFrame.cdata line out. -edit- However, it still doesnt work for a folder with a list of files (like the one I added to google drive), where again it fails to retrieve a frame for drawing the MC ROI. |
Hi there, I've been trying to get ciatah working on my ubuntu 20.04 machine. After some tinkering I've got videos loaded and can even take a folder with a bunch of UCLA miniscope avi files through the viewMovieRegistrationTest step.
However, when I try and run that same folder with the same regex strings through modelPreprocessMovie I get a blank image for selecting the ROI for motion correction. If I drag and double click anyway, i get an indexing error (see below).
I'm not 100% sure of the workflow here, if it would be better for me to try and downsample and convert to h5 first (running modelDownsampleRawMovies throws no errors but produces no output). Any help would be greatly appreciated!
@@@@@@@
Index in position 1 is invalid. Array indices must be positive integers or logical values.
Error in ciatah/modelPreprocessMovieFunction>localfxn_turboregCropSelection (line 2563)
thisFrameCropped = thisFrame(pts(2):pts(4), pts(1):pts(3));
Error in ciatah/modelPreprocessMovieFunction (line 637)
[turboRegCoords] = localfxn_turboregCropSelection(options,folderList);
Error in ciatah/modelPreprocessMovie (line 42)
obj.modelPreprocessMovieFunction('folderListPath',folderListInfo,'fileFilterRegexp',options.fileFilterRegexp,'datasetName',options.datasetName,'frameList',[]);
Error in ciatah/runPipeline (line 209)
obj.(thisFxn{1});
Error in ciatah/display (line 6)
obj.runPipeline;
@@@@@@@
Warning: User likely did not give calciumImagingAnalysis a proper raw input file regular expression or incorrect HDF5 input dataset
name!
The text was updated successfully, but these errors were encountered: