Commit ad58826c authored by Jay Dubb's avatar Jay Dubb
Browse files

v1.25.3

-- Add HRF export files and filter files from user function hmrR_tcca.m to the files to delete with the Reset() method. Consolidate common Reset functionality in the TreeNodeClass base class Reset() method.
parent 515c5383
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ SNIRF
On

% Last Checked For Update
02-Sep-2020 14:50:27
09-Sep-2020 16:14:19

% Check For Updates
on
+1 −3
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ classdef GroupClass < TreeNodeClass
    end
    
    properties % (Access = private)
        path
        pathOutput
    end
    
@@ -495,13 +494,12 @@ classdef GroupClass < TreeNodeClass
            if exist([obj.path, 'groupResults.mat'],'file')
                delete([obj.path, 'groupResults.mat']);
            end
                
            obj.procStream.output.Reset(obj.GetFilename);
            if strcmp(option, 'down')
                for jj=1:length(obj.subjs)
                    obj.subjs(jj).Reset();
                end
            end
            Reset@TreeNodeClass(obj);
        end
        
        
+0 −10
Original line number Diff line number Diff line
@@ -164,16 +164,6 @@ classdef RunClass < TreeNodeClass
        end

        
        
        % ----------------------------------------------------------------------------------
        % Deletes derived data in procResult
        % ----------------------------------------------------------------------------------
        function Reset(obj)
            obj.procStream.output.Reset(obj.GetFilename);
        end
        
        
        
        % ----------------------------------------------------------------------------------
        % Copy processing params (procInut and procResult) from
        % N2 to N1 if N1 and N2 are same nodes
+1 −1
Original line number Diff line number Diff line
@@ -187,12 +187,12 @@ classdef SubjClass < TreeNodeClass
            if ~exist('option','var')
                option = 'down';
            end
            obj.procStream.output.Reset(obj.GetFilename);
            if strcmp(option, 'down')
                for jj=1:length(obj.runs)
                    obj.runs(jj).Reset();
                end
            end
            Reset@TreeNodeClass(obj);
        end
        
        
+12 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ classdef TreeNodeClass < handle
    properties
        outputVars
        DEBUG
        path
    end
        
    methods
@@ -33,6 +34,8 @@ classdef TreeNodeClass < handle
            obj.procStream = ProcStreamClass();
            obj.err = 0;
            obj.CondNames = {};
            obj.path = filesepStandard(pwd);
            
            
            obj.InitParentAppFunc();
            
@@ -144,6 +147,15 @@ classdef TreeNodeClass < handle
        end
        
        
        % ----------------------------------------------------------------------------------
        function Reset(obj)
            obj.procStream.output.Reset(obj.GetFilename);
            delete([obj.path, obj.name, '*.txt']);
            delete([obj.path, obj.name, '*.mat']);
            delete([obj.path, 'tCCAfilter_*.txt'])
        end
        
        
        % ----------------------------------------------------------------------------------
        % 
        % ----------------------------------------------------------------------------------
Loading