From fd6afff23248c7d5d6cc967f4e954c7a92b604d2 Mon Sep 17 00:00:00 2001 From: Stefan Appelhoff Date: Mon, 25 Nov 2024 21:22:33 +0100 Subject: [PATCH] fix circular import --- pybv/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pybv/__init__.py b/pybv/__init__.py index 1b95daf..6b036d7 100644 --- a/pybv/__init__.py +++ b/pybv/__init__.py @@ -3,13 +3,13 @@ # Authors: pybv developers # SPDX-License-Identifier: BSD-3-Clause -from .io import write_brainvision - -__all__ = ["write_brainvision"] - try: from importlib.metadata import version __version__ = version("pybv") except Exception: __version__ = "0.0.0" + +from pybv.io import write_brainvision + +__all__ = ["write_brainvision"]