Skip to content

Commit

Permalink
Merge pull request #2150 from rkim48/ms5-version-check-fix
Browse files Browse the repository at this point in the history
Mountainsort5 version check fix
  • Loading branch information
alejoe91 authored Nov 2, 2023
2 parents 144945d + e7dcdad commit 9df709d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeinterface/sorters/external/mountainsort5.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ def is_installed(cls):

if HAVE_MS5:
vv = parse(mountainsort5.__version__)
if vv < parse("0.3") or vv >= parse("0.4"):
if vv < parse("0.3"):
print(
f"WARNING: This version of SpikeInterface expects Mountainsort5 version 0.3.x. "
f"WARNING: This version of SpikeInterface expects Mountainsort5 version 0.3.x or newer. "
f"You have version {mountainsort5.__version__}"
)
HAVE_MS5 = False
Expand Down

0 comments on commit 9df709d

Please sign in to comment.