From e872c79f98e2c7c557d510cb4b35e70298b79264 Mon Sep 17 00:00:00 2001 From: gvarnavi Date: Wed, 10 Jul 2024 02:06:52 -0700 Subject: [PATCH] switching to __package__ calls instead --- py4DSTEM/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py4DSTEM/__init__.py b/py4DSTEM/__init__.py index 695d2b55d..2fd84dc0a 100644 --- a/py4DSTEM/__init__.py +++ b/py4DSTEM/__init__.py @@ -3,7 +3,7 @@ from importlib.metadata import metadata -is_package_lite = "lite" in metadata("py4DSTEM")["Keywords"].lower().split(",") +is_package_lite = "lite" in metadata(__package__)["Keywords"].lower().split(",") ### io