bahanonu / ciatah

CIAtah (pronounced cheetah): a software package for calcium imaging analysis of one- and two-photon imaging datasets. Documentation: https://git.io/ciatah_docs. Formerly known as calciumImagingAnalysis (ciapkg).
https://git.io/ciatah_docs
MIT License
80 stars 20 forks source link

Error during cross registration #137

Open hsw28 opened 7 months ago

hsw28 commented 7 months ago

Hi, I keep getting this error during cross registration

folderGlobalIdx: 2  3
@@@@@@@
Unable to perform assignment because the size of the left side is 2855-by-1 and the size of the right side
is 2855-by-2.

Error in ciatah/viewMatchObjBtwnSessions (line 213)
                globalIDs(:,addNo) = globalIDsTmp(:,folderGlobalIdx);

Error in ciatah/computeMatchObjBtwnTrials (line 237)
                obj.viewMatchObjBtwnSessions('runGui',0);

Error in ciatah/runPipeline (line 209)
                obj.(thisFxn{1});

Error in ciatah/display (line 6)
    obj.runPipeline;
@@@@@@@

I tried making it so it just accepted the first folderGlobalIdx but that gave me a bunch of other errors, so I figured I would consult the expert :)

bahanonu commented 7 months ago

Hey! Yep, can take a look. Could you email me a link to the cell extraction MAT files associated with each of the sessions and the settings you are using to run?

Also, can you send me the output of:

obj.folderBaseSaveStrUnique

and

obj.globalIDFolders

As given CIAtah is finding multiple folderGlobalIdx, might indicate a naming overlap between folders.

bahanonu commented 7 months ago

@hsw28 Checking to see if still getting this error.