ecf639298f7bc9b9e9406a712eb852cb95586c74,mne/io/nirx/tests/test_nirx.py,,test_nirx_15_2,#,271
Before Change
assert "fnirs_raw" in raw
assert "fnirs_od" not in raw
picks = pick_types(raw.info, fnirs="fnirs_cw_amplitude")
with pytest.deprecated_call():
picks_alias = pick_types(raw.info, fnirs="fnirs_raw")
assert_array_equal(picks, picks_alias)
@requires_testing_data
After Change
// Old name aliases for backward compat
assert "fnirs_cw_amplitude" in raw
with pytest.raises(ValueError, match="Invalid value") :
"fnirs_raw" in raw
assert "fnirs_od" not in raw
picks = pick_types(raw.info, fnirs="fnirs_cw_amplitude")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: mne-tools/mne-python
Commit Name: ecf639298f7bc9b9e9406a712eb852cb95586c74
Time: 2020-09-25
Author: larson.eric.d@gmail.com
File Name: mne/io/nirx/tests/test_nirx.py
Class Name:
Method Name: test_nirx_15_2
Project Name: mne-tools/mne-python
Commit Name: ecf639298f7bc9b9e9406a712eb852cb95586c74
Time: 2020-09-25
Author: larson.eric.d@gmail.com
File Name: mne/tests/test_filter.py
Class Name:
Method Name: test_notch_filters
Project Name: mne-tools/mne-python
Commit Name: 222deb6f5e97036274b9ac117582c20bee18d13a
Time: 2019-09-26
Author: larson.eric.d@gmail.com
File Name: mne/tests/test_epochs.py
Class Name:
Method Name: test_save_overwrite