Skip to content

Commit

Permalink
🐛 : debug 2
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed Nov 12, 2024
1 parent bbe9130 commit 4d5ef7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ jobs:
curl_opts $VID_DIR $VID_ONE $VID1URL
curl_opts $VID_DIR $VID_TWO $VID2URL
- name: Run tests
run: |
pytest --no-docker --no-dlc
run: | # DO NOT MERGE - must revert
pytest --no-docker --no-dlc tests/position/test_trodes.py -k test_trodes_video
2 changes: 1 addition & 1 deletion src/spyglass/position/v1/dlc_utils_makevid.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def _generate_single_frame(self, frame_ind):
def _debug_one_frame(self):
"""Debug a single frame."""
frame_ind = 10
self.ffmepg_extract(frame_ind, frame_ind + 1)
self.ffmpeg_extract(frame_ind, frame_ind + 1)
self._generate_single_frame(frame_ind)

def process_frames(self):
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
warnings.filterwarnings("ignore", category=FutureWarning, module="sklearn")
warnings.filterwarnings("ignore", category=PerformanceWarning, module="pandas")
warnings.filterwarnings("ignore", category=NumbaWarning, module="numba")
warnings.filterwarnings("ignore", category=ResourceWarning, module="datajoint")

# ------------------------------- TESTS CONFIG -------------------------------

Expand Down

0 comments on commit 4d5ef7a

Please sign in to comment.