Commit 5d15e0a9 authored by Jesse Heckman's avatar Jesse Heckman
Browse files

minor fix

parent 3713c535
function handles = pb_vStoreData(handles, data)
function pb_vStoreData(cfg, data)
% PB_VSTOREDATA
%
% PB_VSTOREDATA(handles, data) stores all the trial data and configurements
......@@ -8,7 +8,6 @@ function handles = pb_vStoreData(handles, data)
% PBToolbox (2018): JJH: j.heckman@donders.ru.nl
cfg = handles.cfg;
cd([cfg.dname filesep 'trial'])
[~,prefix] = pb_fext(cfg.fname);
......@@ -17,8 +16,6 @@ function handles = pb_vStoreData(handles, data)
beta = setCFG(cfg); %% TO DO: <-- FIX: SELECT CFGs FOR TRIAL ONLY
save(fname,'data', 'beta', '-mat');
handles.cfg = cfg;
end
function beta = setCFG(cfg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment