jdammers / jumeg

MEG Data Analysis at FZJ
BSD 3-Clause "New" or "Revised" License
10 stars 26 forks source link

Noise reducer deprecation with new mne versions #267

Open pravsripad opened 2 years ago

pravsripad commented 2 years ago

Lots of changes are coming after mne 0.24. Here are some DeprecationWarnings that will have to be addressed.

/Users/psripad/miniconda3/envs/mybase/lib/python3.9/copy.py:300: DeprecationWarning: file_id cannot be set directly. This warning will turn into an error after 0.24
  y[key] = value
/Users/psripad/miniconda3/envs/mybase/lib/python3.9/copy.py:300: DeprecationWarning: events cannot be set directly. This warning will turn into an error after 0.24
  y[key] = value
/Users/psripad/miniconda3/envs/mybase/lib/python3.9/copy.py:300: DeprecationWarning: hpi_results cannot be set directly. This warning will turn into an error after 0.24
  y[key] = value
/Users/psripad/.local/lib/python3.9/site-packages/jumeg/jumeg_noise_reducer.py:599: DeprecationWarning: chs cannot be set directly. Please use methods inst.add_channels(), inst.drop_channels(), inst.pick_channels(), inst.rename_channels(), inst.reorder_channels() and inst.set_channel_types() instead. This warning will turn into an error after 0.24