Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Fix annotation rejection idx #12895

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Create 12895.bugfix.rst

7fb81fc
Select commit
Loading
Failed to load commit list.
Open

BUG: Fix annotation rejection idx #12895

Create 12895.bugfix.rst
7fb81fc
Select commit
Loading
Failed to load commit list.
Azure Pipelines / mne-tools.mne-python failed Nov 7, 2024 in 58m 39s

Build #20241107.4 had test failures

Details

Tests

  • Failed: 2 (0.04%)
  • Passed: 4,346 (97.77%)
  • Other: 97 (2.18%)
  • Total: 4,445
Code coverage

  • 7715 of 31176 branches covered (24.75%)
  • 33082 of 119107 lines covered (27.78%)

Annotations

Check failure on line 69 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

Build log #L69

Cmd.exe exited with code '2'.

Check failure on line 20 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

Build log #L20

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 4416 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

Build log #L4416

Cmd.exe exited with code '1'.

Check failure on line 24 in Build log

See this annotation in the file changed.

@azure-pipelines 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 1 in mne.decoding.tests.test_search_light

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

mne.decoding.tests.test_search_light

collection failure
Raw output
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\pluggy\_hooks.py:513: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\pluggy\_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\_pytest\python.py:245: in pytest_pycollect_makeitem
    return list(collector._genfunctions(name, obj))
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\_pytest\python.py:462: in _genfunctions
    self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\pluggy\_hooks.py:574: in call_extra
    return self._hookexec(self.name, hookimpls, kwargs, firstresult)
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\pluggy\_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\_pytest\python.py:115: in pytest_generate_tests
    metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\_pytest\python.py:1206: in parametrize
    argnames, parametersets = ParameterSet._for_parametrize(
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\_pytest\mark\structures.py:159: in _for_parametrize
    parameters = cls._parse_parametrize_parameters(argvalues, force_tuple)
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\_pytest\mark\structures.py:146: in _parse_parametrize_parameters
    ParameterSet.extract_from(x, force_tuple=force_tuple) for x in argvalues
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\sklearn\utils\estimator_checks.py:518: in checks_generator
    for check in _yield_all_checks(estimator, legacy=legacy):
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\sklearn\utils\estimator_checks.py:369: in _yield_all_checks
    for check in _yield_transformer_checks(estimator):
C:\hostedtoolcache\windows\Python\3.12.7\x64\Lib\site-packages\sklearn\utils\estimator_checks.py:269: in _yield_transformer_checks
    if tags.transformer_tags.preserves_dtype:
E   AttributeError: 'NoneType' object has no attribute 'preserves_dtype'

Check failure on line 1 in test_acq_skip

See this annotation in the file changed.

@azure-pipelines azure-pipelines / mne-tools.mne-python

test_acq_skip

AssertionError: 
Not equal to tolerance rtol=1e-07, atol=0

(shapes (9997,), (10000,) mismatch)
 x: array([0.0000e+00, 1.0000e-03, 2.0000e-03, ..., 1.6997e+01, 1.6998e+01,
       1.6999e+01])
 y: array([0.0000e+00, 1.0000e-03, 2.0000e-03, ..., 1.6997e+01, 1.6998e+01,
       1.6999e+01])
Raw output
mne\io\fiff\tests\test_raw_fiff.py:84: in test_acq_skip
    assert_allclose(times, expected_times)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\contextlib.py:79: in inner
    return func(*args, **kwds)
E   AssertionError: 
E   Not equal to tolerance rtol=1e-07, atol=0
E   
E   (shapes (9997,), (10000,) mismatch)
E    x: array([0.0000e+00, 1.0000e-03, 2.0000e-03, ..., 1.6997e+01, 1.6998e+01,
E          1.6999e+01])
E    y: array([0.0000e+00, 1.0000e-03, 2.0000e-03, ..., 1.6997e+01, 1.6998e+01,
E          1.6999e+01])