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 couldn't get the create_sots function to run when using the input argument "free". When using the "BIDS" input argument, I ran into error code #15. It worked well when removing the following code chunk:
filename = [subject,write_ses,LogID,'.log'];
logfile = dir([logdir,filesep,filename]);
% if isempty(logfile)
% filename = [prefix,filename];
% logfile = dir([logdir,filesep,filename]);
% else
% out{dum,:} = 'Logfile not found.\nWarning #15\nContinue with next session.\n';
% return
% end
Maybe I don't understand something important, but in my case this code chunk first successfully correctly creates the objects "filename" and "logfile", then tests if they were successfully created, and returns an error message if they were successfully created , skipping to the next subject.
My data structure:
In my logfiles folder, each participant has a subfolder, containing only one logfile. The folders are called e.g. 1234 for the first subject, without the "sub-" prefix.
The text was updated successfully, but these errors were encountered:
I couldn't get the create_sots function to run when using the input argument "free". When using the "BIDS" input argument, I ran into error code #15. It worked well when removing the following code chunk:
Maybe I don't understand something important, but in my case this code chunk first successfully correctly creates the objects "filename" and "logfile", then tests if they were successfully created, and returns an error message if they were successfully created , skipping to the next subject.
My data structure:
In my logfiles folder, each participant has a subfolder, containing only one logfile. The folders are called e.g. 1234 for the first subject, without the "sub-" prefix.
The text was updated successfully, but these errors were encountered: