You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting error if I check "Visible" checkbox of an empty electrode set and click "Visualize surfaces". The electrodes set was created automatically for a new project, even though the import_segmentation.zef did not have a type,sensors line.
Create a new project without electrodes, by importing the segmentation without electrodes
Click "visible" checkbox for an empty electrodes set in Segmentation tool
Click "Visualize surface" in Mesh Visualization tool
The following error occur:
Brace indexing is not supported for variables of this type.
Error in zef_plot_meshes (line 531)
h_text = text(sensors(i,1),sensors(i,2),sensors(i,3),sensors_name{i});
Error in zef_visualize_surfaces (line 3)
zef_update_fig_details;zef_plot_meshes([]);
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 427)
Error while evaluating Button PrivateButtonPushedFcn.
Interestingly, it doesn't happen when any of the clipping planes is enabled.
Expected behavior
I would expect the empty electrodes set not to be created for no reason
Whenever an empty set of electrodes is visible, it shouldn't break the program
Description
Steps to reproduce
I'm getting error if I check "Visible" checkbox of an empty electrode set and click "Visualize surfaces". The electrodes set was created automatically for a new project, even though the
import_segmentation.zef
did not have atype,sensors
line.The following error occur:
Interestingly, it doesn't happen when any of the clipping planes is enabled.
Expected behavior
Screenshots
bug.mp4
Context
The text was updated successfully, but these errors were encountered: