diff --git a/src/spikeinterface/sorters/external/mountainsort5.py b/src/spikeinterface/sorters/external/mountainsort5.py index a88c59d688..04a4061e68 100644 --- a/src/spikeinterface/sorters/external/mountainsort5.py +++ b/src/spikeinterface/sorters/external/mountainsort5.py @@ -80,16 +80,15 @@ class Mountainsort5Sorter(BaseSorter): def is_installed(cls): try: import mountainsort5 - HAVE_MS5 = True except ImportError: HAVE_MS5 = False 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