Skip to content

Commit

Permalink
prevent partially initialized module
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <[email protected]>
  • Loading branch information
njzjz committed Aug 23, 2024
1 parent 1965743 commit 2c34fdc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions deepmd_mace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

from ._version import __version__
from .argcheck import mace_model_args
from .mace import MaceModel as MACE # noqa: N814

__email__ = "[email protected]"

__all__ = [
"__version__",
"MACE",
"mace_model_args",
]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ keywords = [
[project.scripts]

[project.entry-points."deepmd.pt"]
mace = "deepmd_mace:MACE"
mace = "deepmd_mace.mace:MaceModel"

[project.urls]
repository = "https://github.com/njzjz/deepmd_mace"
Expand Down

0 comments on commit 2c34fdc

Please sign in to comment.