Skip to content

Commit 383f442

Browse files
committed
Default single_animal to True and update exports
Change default for benchmark_videos single_animal to True to reflect expected single-animal usage. Remove benchmark_videos/download_benchmarking_data from package __all__ to avoid exposing internal benchmarking helpers. Update CI test command to run dlc-live-test with --nodisplay so the workflow can run headless in CI environments.
1 parent e0e3157 commit 383f442

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
shell: bash
7070

7171
- name: Run Model Benchmark Test
72-
run: uv run dlc-live-test
72+
run: uv run dlc-live-test --nodisplay
7373

7474
- name: Run DLC Live Unit Tests
7575
run: uv run pytest

dlclive/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
"Display",
2323
"Processor",
2424
"Engine",
25-
"benchmark_videos",
26-
"download_benchmarking_data",
2725
"VERSION",
2826
"__version__",
2927
]

dlclive/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def benchmark_videos(
8686
cmap="bmy",
8787
save_poses=False,
8888
save_video=False,
89-
single_animal=False,
89+
single_animal=True,
9090
):
9191
"""Analyze videos using DeepLabCut-live exported models.
9292
Analyze multiple videos and/or multiple options for the size of the video

0 commit comments

Comments
 (0)