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

Before Change


                                    sex=0, hand=1)

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

    // Test instance method
    events = read_events(event_name)

After Change


    epochs = Epochs(raw, events[:1], 2, 0., 0.1, baseline=None)

    _test_anonymize_info(raw.info.copy())
    _test_anonymize_info(epochs.info.copy())

    // test that annotations are correctly zeroed
    raw.anonymize()
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: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 78a4138657b22aed8d47558ffe8fb7fa380ff917
Time: 2021-03-23
Author: tohaowu@google.com
File Name: perfkitbenchmarker/linux_benchmarks/nccl_benchmark.py
Class Name:
Method Name: Run


Project Name: hyperspy/hyperspy
Commit Name: afcab1f41ad35cc02b3b5be376887868e00118a7
Time: 2018-08-28
Author: eric.prestat@gmail.com
File Name: hyperspy/drawing/image.py
Class Name: ImagePlot
Method Name: update