Skip to content

Commit 4f52463

Browse files
committed
Fixed bug so that queuing works in the stabilization GUI.
Signed-off-by: Klas Magnusson <klasmagnus@gmail.com>
1 parent de0998a commit 4f52463

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

GUIs/StabilizationGUI.m

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,19 @@ function QueueButton_Callback(~, ~)
111111
% Puts the execution on a processing queue, to be started later.
112112

113113
dstExPath = sPanel.GetValue('Output');
114+
if length(imData.channelNames) > 1
115+
referenceChannel = sPanel.GetValue('Reference_channel');
116+
else
117+
referenceChannel = imData.channelNames{1};
118+
end
119+
missingPixels = sPanel.GetValue('Missing_pixels');
114120
numCores = str2double(sPanel.GetValue('Number_of_cores'));
115121

116-
aQueue.Add(@()RunStabilization(aSeqPaths, dstExPath, numCores))
122+
aQueue.Add(@()RunStabilization(aSeqPaths,...
123+
dstExPath,...
124+
numCores,...
125+
referenceChannel,...
126+
missingPixels))
117127
end
118128
end
119129

0 commit comments

Comments
 (0)