Skip to content

Commit

Permalink
Bugfix: IEEG panel, on GetContacts ignore channels without Group
Browse files Browse the repository at this point in the history
  • Loading branch information
rcassani committed Oct 8, 2024
1 parent f41b679 commit 0087424
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<body alink="#fff000" link="#fff000" vlink="#fff000">
<h4><span style="font-family: Arial Black; color: #ffffff;"><strong>THERE IS NO UNDO BUTTON!<BR>SET UP A <FONT color=red>BACKUP</FONT> OF YOUR DATABASE</strong></span></h4>
<HR>
<!-- LICENCE_START -->Version: 3.241007 (07-Oct-2024)<br>
<!-- LICENCE_START -->Version: 3.241008 (08-Oct-2024)<br>
<span style="font-style: italic;">COPYRIGHT &copy; 2000-2024
USC &amp; McGill University.<br>
</span>
Expand Down
2 changes: 1 addition & 1 deletion doc/version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
% Brainstorm
% v. 3.241007 (07-Oct-2024)
% v. 3.241008 (08-Oct-2024)
2 changes: 2 additions & 0 deletions toolbox/gui/panel_ieeg.m
Original file line number Diff line number Diff line change
Expand Up @@ -1247,6 +1247,8 @@ function SetElectrodeVisible(isVisible)
end
% Get the channel data
ChannelData = GlobalData.DataSet(iDSall).Channel;
% Replace empty Group with ''
[ChannelData(cellfun('isempty', {ChannelData.Group})).Group] = deal('');
% Get the contacts for the electrode
iChannels = find(ismember({ChannelData.Group}, selectedElecName));
for i = 1:length(iChannels)
Expand Down

1 comment on commit 0087424

@rcassani
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.