Skip to content

Commit

Permalink
Temporarily change the conftest to get it working.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZiminski committed Jun 26, 2024
1 parent e137932 commit f15e44d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test_kilosort4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,5 @@ jobs:

- name: Run new kilosort4 tests
run: |
cd .github/scripts
ls
pytest ./test_kilosort4_new.py
pytest .github/scripts/test_kilosort4_new.py
shell: bash
5 changes: 4 additions & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ def pytest_collection_modifyitems(config, items):
rootdir = Path(config.rootdir)
modules_location = rootdir / "src" / "spikeinterface"
for item in items:
rel_path = Path(item.fspath).relative_to(modules_location)
try:
rel_path = Path(item.fspath).relative_to(modules_location)
except:
pass # TODO
module = rel_path.parts[0]
if module == "sorters":
if "internal" in rel_path.parts:
Expand Down

0 comments on commit f15e44d

Please sign in to comment.