Skip to content

Missing verbose argument in mne.channels.channels.combine_channels #11252

@dissagaliyeva

Description

@dissagaliyeva

Description of the problem

The combine_channels function is missing the verbose argument. By default, it shows all logger information without the option to turn it off.

Steps to reproduce

from mne.io import concatenate_raws, read_raw_edf
from mne.datasets import eegbci
from mne.channels.channels import combine_channels

raw_fnames = eegbci.load_data(1, 1)
raws = [read_raw_edf(f, preload=True) for f in raw_fnames]
raw = concatenate_raws(raws)

res = combine_channels(raw, dict(Left=[1, 2, 3, 4], Right=[5, 6, 7, 8]))
res

Link to data

No response

Expected results

Expected to see only the information from a variable of type mne.io.array.array.RawArray.

Actual results

Actual results include the snippet below and the information from a variable of type mne.io.array.array.RawArray

Creating RawArray with float64 data, n_channels=2, n_times=9760
    Range : 0 ... 9759 =      0.000 ...    60.994 secs
Ready.

Additional information

Platform: Windows-10-10.0.22000-SP0
Python: 3.10.6 | packaged by conda-forge | (main, Oct 7 2022, 20:14:50) [MSC v.1916 64 bit (AMD64)]
Executable: C:\Users\dinara\miniconda3\envs\X\python.exe
CPU: Intel64 Family 6 Model 158 Stepping 10, GenuineIntel: 12 cores
Memory: 7.8 GB

mne: 1.3.dev0
numpy: 1.23.4 {OpenBLAS 0.3.20 with 2 threads}
scipy: 1.9.2
matplotlib: 3.6.1 {backend=module://matplotlib_inline.backend_inline}

sklearn: 1.1.2
numba: 0.56.2
nibabel: 4.0.2
nilearn: 0.9.2
dipy: 1.5.0
openmeeg: 2.5.5
cupy: Not found
pandas: 1.5.0
pyvista: 0.36.1 {OpenGL 4.5.0 NVIDIA 516.93 via NVIDIA GeForce GTX 1650 with Max-Q Design/PCIe/SSE2}
pyvistaqt: 0.9.0
ipyvtklink: 0.2.2
vtk: 9.2.2
qtpy: 2.2.1 {PySide6=6.3.2}
ipympl: Not found
pyqtgraph: 0.13.1
pooch: v1.6.0

mne_bids: Not found
mne_nirs: Not found
mne_features: Not found
mne_qt_browser: 0.4.0
mne_connectivity: Not found
mne_icalabel: Not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions