From 037bb2c8dcea5dd26b7741aaa633f6154a87ff5e Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Tue, 30 Jan 2024 15:44:46 +0100 Subject: [PATCH] more specific import --- neo/io/neomatlabio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/io/neomatlabio.py b/neo/io/neomatlabio.py index ade71e146..0ba216314 100644 --- a/neo/io/neomatlabio.py +++ b/neo/io/neomatlabio.py @@ -241,7 +241,7 @@ def __init__(self, filename=None): Arguments: filename : the filename to read """ - import scipy + import scipy.version if Version(scipy.version.version) < Version("0.12.0"): raise ImportError(