<div dir="ltr">Hi all, <div><br></div><div><div>I wonder if anyone here has encountered the same problem that I'm running into when using data2bids with an eeglab dataset (.set):</div><div><br></div><div>When I run this function, it successfully creates the BIDS-compatible directories in the target location, copies over the eeg datafile and writes the eeg.json file. However, it then runs into trouble when writing the tsv channel file. It looks like the table containing channel information that is generated by the data2bids function contains cell columns which cause an error when it then calls the writetable function, which is expecting character input. </div><div><br></div><div>The specific error message sequence I get in Matlab is copied below:</div><div><br></div><div>Error using writetable (line 124)</div><div>Expected input to be one of these types:</div><div>char</div><div>Instead its type was cell.</div><div><br></div><div>Error in ft_write_tsv (line 41)</div><div>writetable(tsv, filename, 'Deliminter', 'tab', 'Filetype', 'text');</div><div><br></div><div>Error in data2bids (line 1901)</div><div>ft_write_tsv(filename, modality_tsv)</div><div><br></div><div>Any suggestions would be appreciated- thank you!</div><div><br></div><div>-Megan</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Megan Boudewyn, Ph.D.<div>Assistant Professor</div><div>Department of Psychology</div><div>University of California, Santa Cruz<br></div><div>Director: <a href="https://sites.google.com/ucsc.edu/boudewynlab/home" target="_blank">Boudewyn Lab</a></div></div></div></div></div>