You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with EEG measurements in the Nihon Kohden format. For this reason I've decided to follow the workshop and modify the Jupyter notebooks in order to use my own data. So for example in the first notebook I use the function mne.io.read_raw_nihon(raw_path, preload=True) instead of mne.io.read_raw(raw_path) and so on.
Problem
When working with BIDS-data in the second notebook I encounter the following problem. I can write raw BIDS-data using the function mne_bids.write_raw_bids() but I additionally need to set format='Brainvision' and allow_preload=True (see code below).
Everything works fine the first time I run the code. However, if I try to modify the raw.info['subject_info'] adding in the birthday of the patient or some other information in a cell above (like it was done in the youtube tutorial) and then try to run again the mne_bids_write_raw_bids() I get the following error message:
Hello,
I am working with EEG measurements in the Nihon Kohden format. For this reason I've decided to follow the workshop and modify the Jupyter notebooks in order to use my own data. So for example in the first notebook I use the function
mne.io.read_raw_nihon(raw_path, preload=True)
instead ofmne.io.read_raw(raw_path)
and so on.Problem
When working with BIDS-data in the second notebook I encounter the following problem. I can write raw BIDS-data using the function
mne_bids.write_raw_bids()
but I additionally need to setformat='Brainvision'
andallow_preload=True
(see code below).Everything works fine the first time I run the code. However, if I try to modify the
raw.info['subject_info']
adding in the birthday of the patient or some other information in a cell above (like it was done in the youtube tutorial) and then try to run again themne_bids_write_raw_bids()
I get the following error message:As you can see in the code above the argument
overwrite
was set toTrue
. Is this a bug of the function or am I doing something wrong?Thank you in advance!
The text was updated successfully, but these errors were encountered: