mne-tools / mne-bids

MNE-BIDS is a Python package that allows you to read and write BIDS-compatible datasets with the help of MNE-Python.
https://mne.tools/mne-bids/
BSD 3-Clause "New" or "Revised" License
131 stars 85 forks source link

Switch to MNE-Python @verbose decorator #773

Open adam2392 opened 3 years ago

adam2392 commented 3 years ago
 raw = read_raw_bids(fpath, verbose=False)

Example output:

Extracting parameters from /home/adam2392/hdd3/sickkids/sub-E1/ses-extraoperative/ieeg/sub-E1_ses-extraoperative_task-interictalawake_acq-ecog_run-01_ieeg.vhdr...
Setting channel info structure...
Reading channel info from /home/adam2392/hdd3/sickkids/sub-E1/ses-extraoperative/ieeg/sub-E1_ses-extraoperative_task-interictalawake_acq-ecog_run-01_channels.tsv.

I'm guessing there are a few places that aren't getting passed the verbose parameter correctly.

hoechenberger commented 3 years ago

We should consider using MNE's @verbose decorator so we can stop worrying about manually managing verbosity once and for all.