diff --git a/+nigeLab/+utils/buildWorkerConfigScript.m b/+nigeLab/+utils/buildWorkerConfigScript.m index b22d0a62..bcb0f911 100644 --- a/+nigeLab/+utils/buildWorkerConfigScript.m +++ b/+nigeLab/+utils/buildWorkerConfigScript.m @@ -36,7 +36,7 @@ case {'remote','fromremote'} % Just makes sure nigeLab is added to path (didn't work for MM) % This works if the method is queued FROM repo on remote location: - p = varargin{1}; + p = getNigelPath('UNC'); if ~iscell(p) p = {p}; end @@ -45,7 +45,7 @@ case {'local','fromlocal'} % "Wrap" everything in a script that is executed by the worker, % instead of the `doAction` - p = getNigelPath('UNC'); + p = varargin{1}; if ~iscell(p) p = {p}; end diff --git a/+nigeLab/@nigelObj/nigelObj.m b/+nigeLab/@nigelObj/nigelObj.m index 73a5b57f..8eb1efc2 100644 --- a/+nigeLab/@nigelObj/nigelObj.m +++ b/+nigeLab/@nigelObj/nigelObj.m @@ -148,7 +148,7 @@ ChildContainer % Container for .Children Dependent property ChildListener event.listener % Listens for changes in object Children GUIContainer nigeLab.libs.DashBoard % Container for handle to GUI (nigeLab.libs.DashBoard) - TreeNodeContainer uiw.widget.TreeNode % Container for handle to Tree nodes in the nigelTree obj + TreeNodeContainer % Container for handle to Tree nodes in the nigelTree obj ParentListener event.listener % Listens for changes in object Parent PropListener event.listener % Listens for changes in properties of this object SortGUIContainer nigeLab.Sort % Container for handle to Spike Sorting GUI (nigeLab.Sort) @@ -547,10 +547,11 @@ function delete(obj) n = builtin('numArgumentsFromSubscript',nigelObj,s,indexingContext); end case '.' - if ismethod(nigelObj,s(1).subs) - meta = metaclass(nigelObj); - methods = meta.MethodList; - thisMethod = methods(strcmp({methods.Name},s(1).subs)); + meta = metaclass(nigelObj); + methods = meta.MethodList; + methodIdx = strcmp({methods.Name},s(1).subs); + if any(methodIdx) + thisMethod = methods(methodIdx); n = numel(thisMethod.OutputNames); else switch class(nigelObj)