f85de59c9e052e6282c23aeb1f71fc2847ba84cd,mne/io/edf/tests/test_gdf.py,,test_gdf_data,#,27

Before Change



    // gh-5604
    assert raw.info["meas_date"] == DATE_NONE
    with pytest.warns(RuntimeWarning, match="Overlapping events"):
        _test_raw_reader(read_raw_edf, input_fname=gdf1_path + ".gdf",
                         eog=None, misc=None, stim_channel="auto")


@testing.requires_testing_data
def test_gdf2_data():
    Test reading raw GDF 2.x files.
    raw = read_raw_edf(gdf2_path + ".gdf", eog=None, misc=None, preload=True,

After Change


    data, _ = raw[picks]

    // Test Status is added as event
    EXPECTED_EVS_ONSETS = raw._raw_extras[0]["events"][1][::2]
    evs = raw.find_edf_events()
    assert_array_equal(evs[1][::2], EXPECTED_EVS_ONSETS)

    // this .npy was generated using the official biosig python package
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: f85de59c9e052e6282c23aeb1f71fc2847ba84cd
Time: 2018-12-17
Author: mailsik@gmail.com
File Name: mne/io/edf/tests/test_gdf.py
Class Name:
Method Name: test_gdf_data


Project Name: mne-tools/mne-python
Commit Name: ac2157d7ff204cfc81771dafd195310ef1e10bd1
Time: 2018-11-21
Author: larson.eric.d@gmail.com
File Name: mne/channels/tests/test_montage.py
Class Name:
Method Name: test_fif_dig_montage


Project Name: mne-tools/mne-python
Commit Name: 697f7e9a4730c2e7e1dc21e101cefb1e5da8c57f
Time: 2020-10-06
Author: larson.eric.d@gmail.com
File Name: mne/preprocessing/tests/test_ica.py
Class Name:
Method Name: test_ica_full_data_recovery