Skip to content

Commit 6c9e7c3

Browse files
Merge branch '1075-multiposition-time-lapse-out-of-order' of https://github.com/TheDeanLab/navigate into 1075-multiposition-time-lapse-out-of-order
2 parents 266821c + c177c14 commit 6c9e7c3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/navigate/controller/sub_controllers/acquire_bar.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,10 @@ def progress_bar(
160160
if microscope_state["is_multiposition"] is False:
161161
number_of_positions = 1
162162
else:
163+
# The first row is a header that describes stage axis designation.
163164
number_of_positions = len(
164165
self.parent_controller.configuration["multi_positions"]
165-
)
166+
) - 1
166167

167168
if mode == "single":
168169
number_of_slices = 1

src/navigate/model/model.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,12 +371,12 @@ def __init__(
371371
],
372372
"z-stack": [
373373
(
374+
{"name": ZStackAcquisition},
375+
{"name": StackPause},
374376
{
375377
"name": LoopByCount,
376378
"args": ("experiment.MicroscopeState.timepoints",),
377379
},
378-
{"name": ZStackAcquisition},
379-
{"name": StackPause},
380380
)
381381
],
382382
"customized": [],

0 commit comments

Comments
 (0)