Skip to content

Commit

Permalink
Add apptainer case to 'has_singularity()'
Browse files Browse the repository at this point in the history
Co-authored-by: Alessio Buccino <[email protected]>
  • Loading branch information
JoeZiminski and alejoe91 authored Jun 19, 2024
1 parent 9664f69 commit 543cc8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/sorters/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def has_docker():


def has_singularity():
return _run_subprocess_silently("singularity --version").returncode == 0
return _run_subprocess_silently("singularity --version").returncode == 0 or _run_subprocess_silently("apptainer --version").returncode == 0


def has_docker_nvidia_installed():
Expand Down

0 comments on commit 543cc8f

Please sign in to comment.