e07cc5059cb6e2fb7e5abe0ed3db0fad7f590959,mne/io/tests/test_meas_info.py,,test_anonymize,#Any#,472

Before Change


                                    duration=[1, 1],
                                    description="dummy",
                                    orig_time=None))
    raw.info["subject_info"] = dict(id=1, his_id="foobar", last_name="bar",
                                    first_name="bar", birthday=(1987, 4, 8),
                                    sex=0, hand=1)

    // Test no error for incomplete info
    info = raw.info.copy()
    info.pop("file_id")

After Change



    // test that annotations are correctly zeroed
    raw.anonymize()
    assert(raw.annotations.orig_time is raw.info["meas_date"])


@testing.requires_testing_data
def test_csr_csc(tmpdir):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: e07cc5059cb6e2fb7e5abe0ed3db0fad7f590959
Time: 2019-10-06
Author: luke.bloy@gmail.com
File Name: mne/io/tests/test_meas_info.py
Class Name:
Method Name: test_anonymize


Project Name: regel/loudml
Commit Name: d8d2bdbe49aa6f3c09e28e5d1631ab8214a8c379
Time: 2018-01-17
Author: vianney@redmintnetwork.fr
File Name: python/tests/test_times.py
Class Name: TestTimes
Method Name: test_train


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 54542222784567071f368d9e07900621afb15b8d
Time: 2017-05-26
Author: eu@caiocarrara.com.br
File Name: jarbas/api/tests/test_reimbursement_view.py
Class Name: TestRetrieveApi
Method Name: test_contents