Enh browserfig UI events #12819
Enh browserfig UI events #12819
Build #20240910.9 had test failures
Details
- Failed: 8 (0.10%)
- Passed: 7,402 (89.47%)
- Other: 863 (10.43%)
- Total: 8,273
- 9698 of 42007 branches covered (23.09%)
- 32908 of 118715 lines covered (27.72%)
Annotations
Check failure on line 4313 in Build log
azure-pipelines / mne-tools.mne-python
Build log #L4313
Cmd.exe exited with code '1'.
Check failure on line 24 in Build log
azure-pipelines / mne-tools.mne-python
Build log #L24
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 23 in Build log
azure-pipelines / mne-tools.mne-python
Build log #L23
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 4314 in Build log
azure-pipelines / mne-tools.mne-python
Build log #L4314
Cmd.exe exited with code '1'.
Check failure on line 1 in test_plot_epochs_clicks[matplotlib]
azure-pipelines / mne-tools.mne-python
test_plot_epochs_clicks[matplotlib]
IndexError: index 18 is out of bounds for axis 0 with size 7
Raw output
mne\viz\tests\test_epochs.py:138: in test_plot_epochs_clicks
fig._fake_click((0.5, 0.5), ax=fig.mne.ax_hscroll)
mne\viz\_mpl_figure.py:2289: in _fake_click
_fake_click(
mne\viz\utils.py:802: in _fake_click
fig.canvas.callbacks.process(
C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\site-packages\matplotlib\cbook.py:298: in process
func(*args, **kwargs)
mne\viz\_mpl_figure.py:814: in _buttonpress
if self._check_update_hscroll_clicked(event):
mne\viz\_mpl_figure.py:1758: in _check_update_hscroll_clicked
self._publish_time_browse_event(time)
mne\viz\_mpl_figure.py:2360: in _publish_time_browse_event
t_end = onsets[epoch_num_end - 1] + self.mne.inst.tmax
E IndexError: index 18 is out of bounds for axis 0 with size 7
Check failure on line 1 in test_plot_epochs_keypresses[matplotlib]
azure-pipelines / mne-tools.mne-python
test_plot_epochs_keypresses[matplotlib]
IndexError: index 18 is out of bounds for axis 0 with size 7
Raw output
mne\viz\tests\test_epochs.py:201: in test_plot_epochs_keypresses
fig._fake_keypress(key)
mne\viz\_mpl_figure.py:2252: in _fake_keypress
_fake_keypress(fig, key)
mne\viz\utils.py:813: in _fake_keypress
fig.canvas.callbacks.process(
C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\site-packages\matplotlib\cbook.py:298: in process
func(*args, **kwargs)
mne\viz\_mpl_figure.py:701: in _keypress
self._publish_time_browse_event(t_start)
mne\viz\_mpl_figure.py:2360: in _publish_time_browse_event
t_end = onsets[epoch_num_end - 1] + self.mne.inst.tmax
E IndexError: index 18 is out of bounds for axis 0 with size 7
Check failure on line 1 in test_plot_epochs_ctf[matplotlib]
azure-pipelines / mne-tools.mne-python
test_plot_epochs_ctf[matplotlib]
IndexError: index 9 is out of bounds for axis 0 with size 9
Raw output
mne\viz\tests\test_epochs.py:478: in test_plot_epochs_ctf
fig._fake_keypress(key)
mne\viz\_mpl_figure.py:2252: in _fake_keypress
_fake_keypress(fig, key)
mne\viz\utils.py:813: in _fake_keypress
fig.canvas.callbacks.process(
C:\hostedtoolcache\windows\Python\3.12.4\x64\Lib\site-packages\matplotlib\cbook.py:298: in process
func(*args, **kwargs)
mne\viz\_mpl_figure.py:736: in _keypress
self._publish_time_browse_event(
mne\viz\_mpl_figure.py:2366: in _publish_time_browse_event
publish(self, TimeBrowse(time_start=t_start, time_end=t_end))
<decorator-gen-98>:12: in publish
???
mne\viz\ui_events.py:154: in publish
callback(event=event)
mne\viz\_mpl_figure.py:2377: in _on_time_browse_event
events = self.mne.inst.events[self.mne.inst.selection]
E IndexError: index 9 is out of bounds for axis 0 with size 9
Check failure on line 1 in test_plot_raw_traces[matplotlib]
azure-pipelines / mne-tools.mne-python
test_plot_raw_traces[matplotlib]
AssertionError: assert ['MEG 0112', 'MEG 0133', 'MEG 0121'] == ['MEG 0121', 'MEG 0111', 'MEG 0122']
At index 0 diff: #x1B[0m#x1B[33m'#x1B[39;49;00m#x1B[33mMEG 0112#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m#x1B[90m#x1B[39;49;00m != #x1B[0m#x1B[33m'#x1B[39;49;00m#x1B[33mMEG 0121#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
Full diff:
#x1B[0m#x1B[90m #x1B[39;49;00m [#x1B[90m#x1B[39;49;00m
#x1B[92m+ 'MEG 0112',#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[92m+ 'MEG 0133',#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[90m #x1B[39;49;00m 'MEG 0121',#x1B[90m#x1B[39;49;00m
#x1B[91m- 'MEG 0111',#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[91m- 'MEG 0122',#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
#x1B[90m #x1B[39;49;00m ]#x1B[90m#x1B[39;49;00m
Raw output
mne\viz\tests\test_raw.py:587: in test_plot_raw_traces
assert labels == [raw.ch_names[5], raw.ch_names[2], raw.ch_names[3]]
E AssertionError: assert ['MEG 0112', 'MEG 0133', 'MEG 0121'] == ['MEG 0121', 'MEG 0111', 'MEG 0122']
E
E At index 0 diff: #x1B[0m#x1B[33m'#x1B[39;49;00m#x1B[33mMEG 0112#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m#x1B[90m#x1B[39;49;00m != #x1B[0m#x1B[33m'#x1B[39;49;00m#x1B[33mMEG 0121#x1B[39;49;00m#x1B[33m'#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
E
E Full diff:
E #x1B[0m#x1B[90m #x1B[39;49;00m [#x1B[90m#x1B[39;49;00m
E #x1B[92m+ 'MEG 0112',#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
E #x1B[92m+ 'MEG 0133',#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
E #x1B[90m #x1B[39;49;00m 'MEG 0121',#x1B[90m#x1B[39;49;00m
E #x1B[91m- 'MEG 0111',#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
E #x1B[91m- 'MEG 0122',#x1B[39;49;00m#x1B[90m#x1B[39;49;00m
E #x1B[90m #x1B[39;49;00m ]#x1B[90m#x1B[39;49;00m