Skip to content

Commit

Permalink
switching to __package__ calls instead
Browse files Browse the repository at this point in the history
  • Loading branch information
gvarnavi committed Jul 10, 2024
1 parent 1e8278f commit e872c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py4DSTEM/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e872c79

Please sign in to comment.