Skip to content

Commit

Permalink
Fix check for empty channel file (introduced in #661)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcassani authored Nov 28, 2023
1 parent 2ad7402 commit da97ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolbox/io/out_channel_brainsight.m
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function out_channel_brainsight(BstFile, OutputFile, Factor, Transf)
end
end

if ~isempty(Label)
if isempty(Label)
bst_error('Channel file does not contain EEG nor NIRS channels.');
return;
end
Expand Down

0 comments on commit da97ac6

Please sign in to comment.