From 0b10f4800a4f7d118597c63abe9f43ed9632b0bb Mon Sep 17 00:00:00 2001 From: alex-rakowski Date: Fri, 17 Nov 2023 16:07:45 -0800 Subject: [PATCH] fixing import test --- py4DSTEM/utils/configuration_checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py4DSTEM/utils/configuration_checker.py b/py4DSTEM/utils/configuration_checker.py index 65aa25a76..b50a21de2 100644 --- a/py4DSTEM/utils/configuration_checker.py +++ b/py4DSTEM/utils/configuration_checker.py @@ -435,7 +435,7 @@ def generic_versions(module: str, depends_with_requires: list[str]) -> None: else: try: - version = importlib.metadata.version(module) + version = importlib.metadata.version(module_depend_name) except Exception: version = "Couldn't test version" s = f"{module} imported: {version = } - {spec_required} required"