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

could not find file basename.sessionInfo.mat #110

Open
Batter-Wang opened this issue Jun 19, 2024 · 1 comment
Open

could not find file basename.sessionInfo.mat #110

Batter-Wang opened this issue Jun 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Batter-Wang
Copy link

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 Batter-Wang added the bug Something isn't working label Jun 19, 2024
@petersenpeter
Copy link
Owner

Hi

The sleep scoring is dependent on the package Buzcode. It has been on my to-do list to make it independent, but I have not found the time. You have to put buzcode in your Matlab path and familiarize yourself a little with the metadata struct sessionInfo: https://github.com/buzsakilab/buzcode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants