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 3 commits into
base: main
Choose a base branch
from

[pre-commit.ci] auto fixes from pre-commit.com hooks

16dfd8a
Select commit
Loading
Failed to load commit list.
Open

BUG: Fix annotation rejection idx #12895

[pre-commit.ci] auto fixes from pre-commit.com hooks
16dfd8a
Select commit
Loading
Failed to load commit list.
Azure Pipelines / mne-tools.mne-python failed Oct 11, 2024 in 1h 14m 45s

Build #20241011.3 had test failures

Details

Tests

  • Failed: 2 (0.02%)
  • Passed: 7,660 (89.91%)
  • Other: 858 (10.07%)
  • Total: 8,520

Annotations

Check failure on line 14 in Build log

See this annotation in the file changed.

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

Build log #L14

Bash exited with code '139'.

Check failure on line 31 in Build log

See this annotation in the file changed.

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

Build log #L31

Bash exited with code '139'.

Check failure on line 4413 in Build log

See this annotation in the file changed.

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

Build log #L4413

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 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)
 ACTUAL: array([0.0000e+00, 1.0000e-03, 2.0000e-03, ..., 1.6997e+01, 1.6998e+01,
       1.6999e+01])
 DESIRED: 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)
E   AssertionError: 
E   Not equal to tolerance rtol=1e-07, atol=0
E   
E   (shapes (9997,), (10000,) mismatch)
E    ACTUAL: array([0.0000e+00, 1.0000e-03, 2.0000e-03, ..., 1.6997e+01, 1.6998e+01,
E          1.6999e+01])
E    DESIRED: array([0.0000e+00, 1.0000e-03, 2.0000e-03, ..., 1.6997e+01, 1.6998e+01,
E          1.6999e+01])

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])