From e9d01a29fc39f3da78df6f472fdbe3bb311b5bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Pedraza?= Date: Wed, 14 Feb 2024 09:59:50 +0100 Subject: [PATCH] tridisolve not accesible I was using your library and I found it a little bit slow. Diving into the code, I discovered that line (884) in "utils.py" that was trying to import the cythonized module _utils but was unreachable. I just added the dot before the import and the import was successful. I don't know if the dot is only in my case, (venv virtual environment, VSCode, amd64 Windows) or if it's a general fix but I feel that I had to propose changes --- nitime/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nitime/utils.py b/nitime/utils.py index 622ed86a..da683cc0 100644 --- a/nitime/utils.py +++ b/nitime/utils.py @@ -881,7 +881,7 @@ def detect_lines(s, tapers, p=None, **taper_kws): # If we can get it, we want the cythonized version try: - from _utils import tridisolve + from ._utils import tridisolve # If that doesn't work, we define it here: except ImportError: