91473147e57464173dedb00ce20f3d5aefd883bd,mne/viz/ica.py,,plot_ica_properties,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,259
Before Change
_validate_type(ica, ICA, "ica", "ICA")
if isinstance(plot_std, bool):
num_std = 1. if plot_std else 0.
elif isinstance(plot_std, (float, int)):
num_std = plot_std
plot_std = True
else:
After Change
// -------------------------
_validate_type(inst, (BaseRaw, BaseEpochs), "inst", "Raw or Epochs")
_validate_type(ica, ICA, "ica", "ICA")
_validate_type(plot_std, (bool, "numeric"), "plot_std")
if isinstance(plot_std, bool):
num_std = 1. if plot_std else 0.
else:
plot_std = True
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: mne-tools/mne-python
Commit Name: 91473147e57464173dedb00ce20f3d5aefd883bd
Time: 2020-10-12
Author: larson.eric.d@gmail.com
File Name: mne/viz/ica.py
Class Name:
Method Name: plot_ica_properties
Project Name: mne-tools/mne-python
Commit Name: 9613c71f24b8f3f289fcbace86be57dcc66360ed
Time: 2020-07-20
Author: larson.eric.d@gmail.com
File Name: mne/channels/interpolation.py
Class Name:
Method Name: _do_interp_dots
Project Name: mne-tools/mne-python
Commit Name: 222deb6f5e97036274b9ac117582c20bee18d13a
Time: 2019-09-26
Author: larson.eric.d@gmail.com
File Name: mne/utils/check.py
Class Name:
Method Name: _check_rank