Skip to content

Commit d2c588b

Browse files
committed
Update README, docs and mark GUI tests
Add a FIXME note to the top-level README; remove the now-unnecessary Installation Guide link from docs/README.md. Update tests: fix the header comment in tests/custom_processors/test_builtin_discovery_utils.py and add pytest.mark.gui to multiple unit tests in tests/gui/camera_config/test_cam_dialog_unit.py to categorize them as GUI tests.
1 parent 6c2a799 commit d2c588b

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- FIXME @C-Achard out of date -->
12
# DeepLabCut Live GUI
23

34
A modern PySide6 GUI for running [DeepLabCut-live](https://github.com/DeepLabCut/DeepLabCut-live) experiments with real-time pose estimation. The application streams frames from industrial or consumer cameras, performs DLCLive inference, and records high-quality video with synchronized pose data.

docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Welcome to the DeepLabCut-live-GUI documentation! This index will help you find
77
### New Users
88
1. **[README](../README.md)** - Project overview, installation, and quick start
99
2. **[User Guide](user_guide.md)** - Step-by-step walkthrough of all features
10-
3. **[Installation Guide](install.md)** - Detailed installation instructions
1110

1211
### Quick References
1312
- **[ARAVIS_QUICK_REF](../ARAVIS_QUICK_REF.md)** - Aravis backend quick reference

tests/custom_processors/test_builtin_discovery_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# tests/custom_processors/test_builtin_receptor.py
1+
# tests/custom_processors/test_builtin_discovery_utils.py
22
from __future__ import annotations
33

44
import importlib

tests/gui/camera_config/test_cam_dialog_unit.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def dialog(qtbot, monkeypatch):
3232

3333

3434
# ---------------------- UNIT TESTS ----------------------
35+
@pytest.mark.gui
3536
def test_add_camera_populates_working_settings(dialog, qtbot):
3637
dialog._on_scan_result([DetectedCamera(index=2, label="ExtraCam2")])
3738
dialog.available_cameras_list.setCurrentRow(0)
@@ -43,6 +44,7 @@ def test_add_camera_populates_working_settings(dialog, qtbot):
4344
assert added.name == "ExtraCam2"
4445

4546

47+
@pytest.mark.gui
4648
def test_remove_camera(dialog, qtbot):
4749
dialog.active_cameras_list.setCurrentRow(0)
4850
qtbot.mouseClick(dialog.remove_camera_btn, Qt.LeftButton)
@@ -51,6 +53,7 @@ def test_remove_camera(dialog, qtbot):
5153
assert dialog._working_settings.cameras[0].name == "CamB"
5254

5355

56+
@pytest.mark.gui
5457
def test_apply_settings_updates_model(dialog, qtbot):
5558
dialog.active_cameras_list.setCurrentRow(0)
5659

@@ -64,6 +67,7 @@ def test_apply_settings_updates_model(dialog, qtbot):
6467
assert updated.gain == 12.0
6568

6669

70+
@pytest.mark.gui
6771
def test_backend_control_disables_exposure_gain_for_opencv(dialog):
6872
dialog._update_controls_for_backend("opencv")
6973
assert not dialog.cam_exposure.isEnabled()

0 commit comments

Comments
 (0)