Commit 8162f303 authored by Jay's avatar Jay
Browse files

v1.19.0

-- Change hmrR_tCCA.m function to implement David Boas' simple method of passing the generated tCCAfilter from run to run without session level processing and fix it's help section so that it can be loaded to Homer3 registry.
-- Change RegistriesClass and related classes to look at functions from all sub-folders in FuncRegistry/UserFunctions folder
-- Fix bug where the tooltip is not showing the parameter descriptions in ProcStreamOptionsGUI.
-- Delete files added and commited by mistake to the Homer3 git repo
-- Add new slide to DesignNotes.ppt showing the Processing Stream Workflow Overview
parent a3d3c263
Loading
Loading
Loading
Loading
+20 KiB (320 KiB)

File changed.

No diff preview for this file type.

+14 −2
Original line number Diff line number Diff line
@@ -3,6 +3,18 @@ userfuncdir = {};
dirnameApp = getAppDir();

userfuncdir{1} = [dirnameApp, 'FuncRegistry/UserFunctions/'];
dirs = dir([userfuncdir{1}, '*']);
for ii = 1:length(dirs)
    if ~dirs(ii).isdir()
        continue
    elseif strcmp(dirs(ii).name, '..') || strcmp(dirs(ii).name, '.')
        continue
    elseif strcmp(dirs(ii).name, 'Archive')    
        if strcmp(obj.config.InclArchivedFunctions, 'Yes')
    userfuncdir{2} = fullpath([userfuncdir{1}, 'Archive/']);
            userfuncdir{end+1} = fullpath([userfuncdir{1}, 'Archive/']);
        end
    else
        userfuncdir{end+1} = fullpath([userfuncdir{1}, dirs(ii).name]);
    end
end
+3 −4
Original line number Diff line number Diff line
@@ -239,14 +239,13 @@ classdef FuncHelpClass < matlab.mixin.Copyable
            if isempty(subsections)
                return;
            end
            if param > length(subsections)
                return;
            end
            
            % if the input is a number index into the inputs arrays, then we
            % don't need to seach for the param name
            if iswholenum(param)
                if param <= length(subsections)
                    str = subsections(param).str;
                end
                return;
            end
            
+2 −1
Original line number Diff line number Diff line
@@ -124,6 +124,8 @@ classdef FuncRegClass < matlab.mixin.Copyable
                idx = length(obj.entries)+1;
                obj.entries(idx) = FuncRegEntryClass(tmp);
                obj.userfuncfiles{idx} = [obj.userfuncdir{1}, funcname];
            else
                fprintf('  Discarding %s. Function is not valid registry entry.\n', tmp.name)
            end
        end
        
@@ -138,7 +140,6 @@ classdef FuncRegClass < matlab.mixin.Copyable
        
        
        
        
        % ----------------------------------------------------------------------------------
        function Copy(obj, obj2)
            obj.userfuncdir = obj2.userfuncdir;
+4 −0
Original line number Diff line number Diff line
@@ -517,15 +517,19 @@ classdef FuncRegEntryClass < matlab.mixin.Copyable
                return;
            end
            if isempty(obj.name)
                fprintf('Function name not valid.\n')
                return
            end
            if isempty(obj.uiname)
                fprintf('UI NAME section not valid.\n')
                return
            end
            if isempty(obj.usageoptions)
                fprintf('USAGE OPTIONS section not valid.\n')
                return
            end
            if isempty(obj.help)
                fprintf('Function help section not valid.\n')
                return
            end
            b = true;
Loading