Commit 2ecfb701 authored by jayd1860's avatar jayd1860
Browse files

v1.35.1

-- Update ExportHRF feature for BIDS
-- Fix some bugs with ExportHRF and ExportHRFMean (one fix was accidentally removed in prior commit)
parent f016896b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -806,7 +806,7 @@ classdef GroupClass < TreeNodeClass
            
            % Create ExportTable initialized with the filled in 2D TableCell array. 
            % ExportTable object is what actually does the exporting to a file. 
            ExportTable(obj.name, 'HRF mean', tblcells);
            ExportTable([obj.path, obj.outputDirname, obj.name], 'HRF mean', tblcells);
        end
        
        
+1 −1
Original line number Diff line number Diff line
@@ -636,7 +636,7 @@ classdef SessClass < TreeNodeClass

            if strcmp(procElemSelect, 'all')
                for ii = 1:length(obj.runs)
                    obj.runs(ii).ExportHRF(iBlk);
                    obj.runs(ii).ExportHRF('all', iBlk);
                end
            end            
            obj.ExportHRF@TreeNodeClass(procElemSelect, iBlk);
+1 −1
Original line number Diff line number Diff line
@@ -663,7 +663,7 @@ classdef SubjClass < TreeNodeClass

            if strcmp(procElemSelect, 'all')
                for ii = 1:length(obj.sess)
                    obj.sess(ii).ExportHRF(iBlk);
                    obj.sess(ii).ExportHRF('all', iBlk);
                end
            end            
            obj.ExportHRF@TreeNodeClass(procElemSelect, iBlk);
+4 −2
Original line number Diff line number Diff line
@@ -739,12 +739,14 @@ classdef TreeNodeClass < handle

            % Update call application GUI using it's generic Update function
            if ~isempty(obj.updateParentGui)
                obj.updateParentGui('DataTreeClass', [obj.iGroup, obj.iSubj, obj.iRun]);
                obj.updateParentGui('DataTreeClass', [obj.iGroup, obj.iSubj, obj.iSess, obj.iRun]);
            end
            
            % Load derived data and export it
            obj.procStream.Load([obj.path, obj.GetOutputFilename()]);
            if ~obj.DEBUG
                obj.procStream.ExportHRF([obj.path, obj.GetOutputFilename()], obj.CondNames, iBlk);
            end
            pause(.5);
        end
        
+1 −1
Original line number Diff line number Diff line
2.1.0
2.2.0
Loading