Skip to content

ENH: Add validation to _check_edf_discontinuity for record times

dbec29c
Select commit
Loading
Failed to load commit list.
Open

Fix/edf d discontinuous detection #13583

ENH: Add validation to _check_edf_discontinuity for record times
dbec29c
Select commit
Loading
Failed to load commit list.
Azure Pipelines / mne-tools.mne-python failed Jan 14, 2026 in 51m 23s

Build #20260114.15 had test failures

Details

Tests

  • Failed: 21 (0.20%)
  • Passed: 10,281 (98.02%)
  • Other: 187 (1.78%)
  • Total: 10,489
Code coverage

  • 103898 of 126916 line covered (81.86%)

Annotations

Check failure on line 5704 in Build log

See this annotation in the file changed.

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

Build log #L5704

Cmd.exe exited with code '1'.

Check failure on line 25 in Build log

See this annotation in the file changed.

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

Build log #L25

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_egi_mff_pause[fname0-skip_times0-event_times0]

See this annotation in the file changed.

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

test_egi_mff_pause[fname0-skip_times0-event_times0]

DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.
Raw output
mne\io\egi\tests\test_egi.py:77: in test_egi_mff_pause
    with pytest.warns(RuntimeWarning, match="Acquisition skips detected"):
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.

Check failure on line 1 in test_egi_mff_pause[fname1-skip_times1-event_times1]

See this annotation in the file changed.

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

test_egi_mff_pause[fname1-skip_times1-event_times1]

DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.
Raw output
mne\io\egi\tests\test_egi.py:77: in test_egi_mff_pause
    with pytest.warns(RuntimeWarning, match="Acquisition skips detected"):
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.

Check failure on line 1 in test_egi_mff_pause_chunks[fname0]

See this annotation in the file changed.

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

test_egi_mff_pause_chunks[fname0]

DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.
Raw output
mne\io\egi\tests\test_egi.py:136: in test_egi_mff_pause_chunks
    raw_data = read_raw_egi(fname, preload=True).get_data()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<decorator-gen-471>:12: in read_raw_egi
    ???
mne\io\egi\egi.py:176: in read_raw_egi
    return _read_raw_egi_mff(
<decorator-gen-468>:12: in _read_raw_egi_mff
    ???
mne\io\egi\egimff.py:362: in _read_raw_egi_mff
    return RawMff(
<decorator-gen-469>:12: in __init__
    ???
mne\io\egi\egimff.py:412: in __init__
    egi_events, egi_info, mff_events = _read_events(input_fname, egi_info)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mne\io\egi\events.py:26: in _read_events
    mff_events, event_codes = _read_mff_events(input_fname, info["sfreq"])
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mne\io\egi\events.py:71: in _read_mff_events
    "start_sample": int(np.fix(start * sfreq)),
                        ^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\numpy\lib\_ufunclike_impl.py:66: in fix
    warnings.warn(
E   DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.

Check failure on line 1 in test_egi_mff_pause_chunks[fname1]

See this annotation in the file changed.

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

test_egi_mff_pause_chunks[fname1]

DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.
Raw output
mne\io\egi\tests\test_egi.py:136: in test_egi_mff_pause_chunks
    raw_data = read_raw_egi(fname, preload=True).get_data()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<decorator-gen-471>:12: in read_raw_egi
    ???
mne\io\egi\egi.py:176: in read_raw_egi
    return _read_raw_egi_mff(
<decorator-gen-468>:12: in _read_raw_egi_mff
    ???
mne\io\egi\egimff.py:362: in _read_raw_egi_mff
    return RawMff(
<decorator-gen-469>:12: in __init__
    ???
mne\io\egi\egimff.py:412: in __init__
    egi_events, egi_info, mff_events = _read_events(input_fname, egi_info)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mne\io\egi\events.py:26: in _read_events
    mff_events, event_codes = _read_mff_events(input_fname, info["sfreq"])
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
mne\io\egi\events.py:71: in _read_mff_events
    "start_sample": int(np.fix(start * sfreq)),
                        ^^^^^^^^^^^^^^^^^^^^^
C:\hostedtoolcache\windows\Python\3.13.11\x64\Lib\site-packages\numpy\lib\_ufunclike_impl.py:66: in fix
    warnings.warn(
E   DeprecationWarning: numpy.fix is deprecated. Use numpy.trunc instead, which is faster and follows the Array API standard.