Skip to content

Commit 2a9a117

Browse files
committed
Bug fix for updateParams on edit; update submodules
1 parent 9efad14 commit 2a9a117

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

+exp/+test/Signals.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@ function updateParams(obj, paramStruct)
2323
fprintf('Updating parameters\n');
2424
[~, globalStruct, allCondStruct] = toConditionServer(...
2525
exp.Parameters(paramStruct));
26-
obj.GlobalPars.post(rmfield(globalStruct, 'defFunction'));
26+
if isfield(globalStruct, 'defFunction')
27+
globalStruct = rmfield(globalStruct, 'defFunction');
28+
end
29+
obj.GlobalPars.post(globalStruct);
2730
obj.ConditionalPars.post(allCondStruct);
2831
end
2932

alyx-matlab

wheelAnalysis

0 commit comments

Comments
 (0)