Skip to content

Commit

Permalink
Merge pull request #2405 from alejoe91/update-container-tests
Browse files Browse the repository at this point in the history
Use run_sorter function in test_containers_singularity_gpu
  • Loading branch information
samuelgarcia authored Jan 12, 2024
2 parents 9c99cda + 4caf757 commit d3a7e6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_containers_singularity_gpu.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI-Test in AWS for GPU
name: Test GPU sorter images in singularity on AWS

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,32 @@ def run_kwargs():

def test_kilosort2(run_kwargs):
clean_singularity_cache()
sorting = ss.run_kilosort2(output_folder="kilosort2", **run_kwargs)
sorting = ss.run_sorter(sorter_name="kilosort2", output_folder="kilosort2", **run_kwargs)
print(sorting)


def test_kilosort2_5(run_kwargs):
clean_singularity_cache()
sorting = ss.run_kilosort2_5(output_folder="kilosort2_5", **run_kwargs)
sorting = ss.run_sorter(sorter_name="kilosort2_5", output_folder="kilosort2_5", **run_kwargs)
print(sorting)


def test_kilosort3(run_kwargs):
clean_singularity_cache()
sorting = ss.run_kilosort3(output_folder="kilosort3", **run_kwargs)
sorting = ss.run_sorter(sorter_name="kilosort3", output_folder="kilosort3", **run_kwargs)
print(sorting)


def test_yass(run_kwargs):
def test_pykilosort(run_kwargs):
clean_singularity_cache()
sorting = ss.run_yass(output_folder="yass", **run_kwargs)
sorting = ss.run_sorter(sorter_name="pykilosort", output_folder="pykilosort", **run_kwargs)
print(sorting)


def test_pykilosort(run_kwargs):
@pytest.mark.skip("YASS is not supported anymore for Python>=3.8")
def test_yass(run_kwargs):
clean_singularity_cache()
sorting = ss.run_pykilosort(output_folder="pykilosort", **run_kwargs)
sorting = ss.run_sorter(sorter_name="yass", output_folder="yass", **run_kwargs)
print(sorting)


Expand Down

0 comments on commit d3a7e6f

Please sign in to comment.