Skip to content

Commit 1b28a04

Browse files
authored
Patch legacy StreamViewer for BioSemi system (#537)
1 parent c258011 commit 1b28a04

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/mne_lsl/stream_viewer/scope/scope_eeg.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ def __init__(self, inlet):
3030
self._tch = self._channels_labels.index("TRIGGER")
3131
self._channels_labels.pop(self._tch)
3232
self._picks.pop(self._tch)
33+
# patch for BioSemi trigger channel:
34+
elif "Trig1" in self._channels_labels:
35+
self._tch = self._channels_labels.index("Trig1")
36+
self._channels_labels.pop(self._tch)
37+
self._picks.pop(self._tch)
3338
else:
3439
self._tch = None
3540
self._picks = np.array(self._picks)

0 commit comments

Comments
 (0)