sccn / EEG-BIDS

21 stars 17 forks source link

BIDS update/download error #168

Closed DiegoAndres7 closed 3 months ago

DiegoAndres7 commented 1 year ago

After updating/downloading the BIDS Toolbox JSONio is empty, when attempting to run BIDS, it generates the specific error: "EEGLAB error in function bids_export() at line 333" "Undefined function 'jsonwrite' for input arguments of type 'struct'". This is easy to solve, copying the files from the BIDS repository to the JSONio. Then, adding properly the path of the JSONio folder in line 245: changing addpath(fullfile(fileparts(which(mfilename)), 'JSONio')); for addpath('path_for_JSONio/JSONio')), or simply adding the JSONio path once before to start eeglab.

dungscout96 commented 3 months ago

This should no longer be an issue. Closing it now but please reopen if the issue still persists.