diff --git a/preProcessing/acqID.m b/preProcessing/acqID.m index f6beb7c..cba68f3 100644 --- a/preProcessing/acqID.m +++ b/preProcessing/acqID.m @@ -60,13 +60,13 @@ for i = 1:size(useIDX, 1) checkPath = cat(2, '"', allFolders(useIDX(i), :).folder{1}, filesep, allFolders(useIDX(i), :).name{1}, ' "'); usePath = true; + if contains(checkPath, ".memory_usage") + usePath = false; %check for new memory usage dat file and ignore automatically + end for f = 1:length(ignoreFolders) if contains(checkPath, ignoreFolders(f)) usePath = false; end - if contains(checkPath, ".memory_usage") - usePath = false; %check for new memory usage dat file and ignore automatically - end end if usePath datpaths{i} = checkPath; diff --git a/preProcessing/preprocessSession.m b/preProcessing/preprocessSession.m index 3457d5c..d343478 100644 --- a/preProcessing/preprocessSession.m +++ b/preProcessing/preprocessSession.m @@ -160,6 +160,9 @@ function preprocessSession(varargin) warning('removeNoise not implemented') end +%add standard "ignore" prefixes to be extra safe +ignoreFolders = [ignoreFolders, "ignore", "backup", "memory_usage"]; + % Check for active breakpoints dbstatus_ = dbstatus('-completenames'); if ~isempty(dbstatus_)