Skip to content

Commit

Permalink
Channel: Improve detection of BioSemi channel file
Browse files Browse the repository at this point in the history
  • Loading branch information
rcassani committed Jun 3, 2024
1 parent f28a17a commit e165251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolbox/tree/tree_callbacks.m
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@
gui_component('MenuItem', jPopup, [], 'Edit channel file', IconLoader.ICON_EDIT, [], @(h,ev)gui_edit_channel(filenameRelative));
end
% === RENAME CHANNELS BIOSEMI ===
if ~isempty(regexp(char(bstNodes(1).getComment()), 'BDF'))
if ~isempty(regexp(lower(char(bstNodes(1).getComment())), 'bdf')) || ~isempty(regexp(lower(char(bstNodes(1).getComment())), 'biosemi'))
gui_component('MenuItem', jPopup, [], 'BioSemi channels names to 10-10 system', IconLoader.ICON_EDIT, [], @(h,ev)process_channel_biosemi('ComputeInteractive', filenameRelative));
end

Expand Down

0 comments on commit e165251

Please sign in to comment.