Skip to content

Commit c6310d5

Browse files
authored
Merge branch 'main' into mda-progress
2 parents 8573b34 + 022360a commit c6310d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/pymmcore_widgets/mda/_core_mda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def _on_sys_config_loaded(self) -> None:
109109
def value(self) -> MDASequence:
110110
"""Set the current state of the widget from a [`useq.MDASequence`][]."""
111111
val = super().value()
112-
replace = {}
112+
replace: dict = {}
113113

114114
# if the z plan is relative, and there are no stage positions, add the current
115115
# stage position as the relative starting one.

tests/test_useq_core_widgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ def _ok(*args, **kwargs):
448448
with patch.object(QMessageBox, "warning", _ok):
449449
with qtbot.waitSignal(wdg._mmc.mda.events.sequenceStarted):
450450
wdg.control_btns.run_btn.click()
451-
452-
assert wdg._mmc.mda.is_running()
451+
with qtbot.waitSignal(wdg._mmc.mda.events.sequenceFinished):
452+
assert wdg._mmc.mda.is_running()
453453

454454

455455
def test_core_connected_channel_wdg(qtbot: QtBot):

0 commit comments

Comments
 (0)