MNE version: 1.0.3
Operating system: CentOS Linux 7 (Core)
write_raw_bids() is giving me an error and won’t write my data to BIDS format.
write_raw_bids(
raw,
bids_path = bids_path,
allow_preload = True, # whether to load full dataset into memory when copying
format = 'BrainVision', # format to save to
anonymize = dict(daysback = daysback_min), # shift dates by daysback
overwrite = True,
)
The error is
Writing '../data/bids/participants.tsv'...
Writing '../data/bids/participants.json'...
Writing '../data/bids/sub-6/eeg/sub-6_space-CapTrak_electrodes.tsv'...
Writing '../data/bids/sub-6/eeg/sub-6_space-CapTrak_coordsystem.json'...
Used Annotations descriptions: ['111', '112', '113', '121', '122', '123', '131', '132', '133', '211', '212', '213', '221', '222', '223', '231', '232', '233']
Writing '../data/bids/sub-6/eeg/sub-6_task-pitch_run-1_events.tsv'...
Writing '../data/bids/dataset_description.json'...
Writing '../data/bids/sub-6/eeg/sub-6_task-pitch_run-1_eeg.json'...
Writing '../data/bids/sub-6/eeg/sub-6_task-pitch_run-1_channels.tsv'...
Copying data files to sub-6_task-pitch_run-1_eeg.vhdr
/tmp/slurmd/job27623835/slurm_script:100: RuntimeWarning: Converting data files to BrainVision format
write_raw_bids(
/home/user/.conda/envs/pitch-tracking/lib/python3.10/site-packages/pybv/io.py:394: UserWarning: Encountered unsupported non-voltage units: n/a
Note that the BrainVision format specification supports only µV.
warn(msg)
Any ideas?