File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 100
100
101
101
% Load states and channels based on format
102
102
if exist(fullfile(basePath ,' states.npy' ), ' file' )
103
- openephysDig.channel_states = [openephysDig .channel_states ; readNPY(fullfile(basePath ,' states.npy' ))];
103
+ channel_states = readNPY(fullfile(basePath ,' states.npy' ));
104
+ openephysDig.channel_states = [openephysDig .channel_states ; channel_states ];
104
105
openephysDig.channels = [openephysDig .channels ; readNPY(fullfile(basePath ,' sample_numbers.npy' ))];
105
106
else
106
- openephysDig.channel_states = [openephysDig .channel_states ; readNPY(fullfile(basePath ,' channel_states.npy' ))];
107
+ channel_states = readNPY(fullfile(basePath ,' channel_states.npy' ));
108
+ openephysDig.channel_states = [openephysDig .channel_states ; channel_states ];
107
109
openephysDig.channels = [openephysDig .channels ; readNPY(fullfile(basePath ,' channels.npy' ))];
108
110
end
109
111
openephysDig.full_words = [openephysDig .full_words ; readNPY(fullfile(basePath ,' full_words.npy' ))];
You can’t perform that action at this time.
0 commit comments