CellExplorer icon indicating copy to clipboard operation
CellExplorer copied to clipboard

could not find file basename.sessionInfo.mat

Open Batter-Wang opened this issue 8 months ago • 1 comments

Operating system Windows11

Matlab version matlab2021a

Describe the bug I load kilosort rez.mat into cellexplorer and get a basename.session.mat. Then I try to use neuroScope2 to run sleepScore and it come an error said no basename.sessionInfo.mat. I wonder if there is some option to get basename.sessionInfo.mat from basename.session.mat

Matlab error log

NeuroScope2('session',session) Scoring Recording: bandpass_diference Warning: could not find file bandpass_diference.sessionInfo.mat running LoadParameters instead.. In bz_getSessionInfo (line 53) In SleepScoreMaster (line 209) In analysis_tools.states.run_SleepScoreMaster (line 23) In NeuroScope2/analysis_wrapper (line 6647) In uiwait (line 81) In NeuroScope2 (line 161) Warning: Escaped character '\B' is not valid. See 'doc sprintf' for supported special characters. In LoadParameters (line 40) In bz_getSessionInfo (line 55) In SleepScoreMaster (line 209) In analysis_tools.states.run_SleepScoreMaster (line 23) In NeuroScope2/analysis_wrapper (line 6647) In uiwait (line 81) In NeuroScope2 (line 161) Error using LoadParameters (line 40) No .xml in FatterDocument

Error in bz_getSessionInfo (line 55) sessionInfo = LoadParameters(basePath);

Error in SleepScoreMaster (line 209) sessionInfo = bz_getSessionInfo(basePath,'noPrompts',noPrompts);

Error in analysis_tools.states.run_SleepScoreMaster (line 23) SleepScoreMaster(data.session.general.basePath);

Error in NeuroScope2/analysis_wrapper (line 6647) out = analysis_tools.states.(function1)('ephys',ephys,'UI',UI,'data',data);

Error while evaluating Menu Callback.

Operation terminated by user during uiwait (line 81)

In NeuroScope2 (line 161) uiwait(UI.fig);

Batter-Wang avatar Jun 19 '24 15:06 Batter-Wang