CellExplorer is a graphical user interface, a standardized processing module and data structure for exploring and classifying single cells acquired using extracellular electrodes.
Describe the bug
In the "deep-superficial by ripple polarity reversal" chunk of 'ProcessCellMetrics', the session struct is being overwritten. Specifically, session.extracellular.chanCoords.verticalSpacing = 20 is being changed to []. Even when being manual input into the session before running 'ProcessCellMetrics'. This then causes an error in the 'classification_DeepSuperficial' function.
Matlab error log
Error using
Incorrect dimensions for matrix multiplication. Check
that the number of columns in the first matrix matches
the number of rows in the second matrix. To perform
elementwise multiplication, use '.'.
Error in classification_DeepSuperficial (line 275)
deepSuperficial_ChDistance3 =
deepSuperficial_ChDistance3 * VerticalSpacing;
Error in ProcessCellMetrics (line 848)
classification_DeepSuperficial(session);
Operating system Windows 10
Matlab version 2018a
Describe the bug In the "deep-superficial by ripple polarity reversal" chunk of 'ProcessCellMetrics', the session struct is being overwritten. Specifically, session.extracellular.chanCoords.verticalSpacing = 20 is being changed to []. Even when being manual input into the session before running 'ProcessCellMetrics'. This then causes an error in the 'classification_DeepSuperficial' function.
Matlab error log Error using Incorrect dimensions for matrix multiplication. Check that the number of columns in the first matrix matches the number of rows in the second matrix. To perform elementwise multiplication, use '.'. Error in classification_DeepSuperficial (line 275) deepSuperficial_ChDistance3 = deepSuperficial_ChDistance3 * VerticalSpacing; Error in ProcessCellMetrics (line 848) classification_DeepSuperficial(session);
Session struct m50_190724_181515_HPC.session.zip
Screenshots N/A
Additional context Add any other context about the problem here.
Matlab setpath A common problem is interferences with other toolboxes. If possible, please provide your search path by typing
path
in Matlab.