Commit 4e3df0b6 authored by Jay Dubb's avatar Jay Dubb
Browse files

v1.22.3

-- Minor change to add some explanatory comments to DataClass.GetMeasList()
parent 45d6b4e7
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -221,7 +221,10 @@ classdef DataClass < FileLoadSaveClass
        
        % ---------------------------------------------------------
        function ml = GetMeasList(obj)
            % Preallocate for speed 
            ml = ones(length(obj.measurementList), 4);
            
            % Convert obj.measurementList to matrix
            for ii = 1:length(obj.measurementList)
                % If this data contains block average then only get the measurements for first condition. That will
                % contain all the measurement channels
@@ -230,6 +233,8 @@ classdef DataClass < FileLoadSaveClass
                end
                ml(ii,:) = [obj.measurementList(ii).GetSourceIndex(), obj.measurementList(ii).GetDetectorIndex(), 1, obj.measurementList(ii).GetWavelengthIndex()];
            end
            
            % Remove any unused allocated rows that were pre-allocated
            ml(ii+1:end,:) = [];
        end
        
+1 −1
Original line number Diff line number Diff line
@@ -2,5 +2,5 @@ function vrnnum = getVernum()

vrnnum{1} = '1';   % Major version #
vrnnum{2} = '22';  % Major sub-version #
vrnnum{3} = '2';   % Minor version #
vrnnum{3} = '3';   % Minor version #
vrnnum{4} = '0';   % Minor sub-version # or patch #: 'p1', 'p2', etc