kim-tools 0.3.7__py3-none-any.whl → 0.3.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kim_tools/__init__.py +1 -1
- kim_tools/test_driver/core.py +13 -1
- {kim_tools-0.3.7.dist-info → kim_tools-0.3.8.dist-info}/METADATA +1 -1
- {kim_tools-0.3.7.dist-info → kim_tools-0.3.8.dist-info}/RECORD +7 -7
- {kim_tools-0.3.7.dist-info → kim_tools-0.3.8.dist-info}/WHEEL +0 -0
- {kim_tools-0.3.7.dist-info → kim_tools-0.3.8.dist-info}/licenses/LICENSE.CDDL +0 -0
- {kim_tools-0.3.7.dist-info → kim_tools-0.3.8.dist-info}/top_level.txt +0 -0
kim_tools/__init__.py
CHANGED
kim_tools/test_driver/core.py
CHANGED
@@ -738,8 +738,20 @@ class KIMTestDriver(ABC):
|
|
738
738
|
@property
|
739
739
|
def _calc(self) -> Optional[Calculator]:
|
740
740
|
"""
|
741
|
-
Get the ASE calculator
|
741
|
+
Get the ASE calculator. Reinstantiate it if it's a KIM SM
|
742
742
|
"""
|
743
|
+
if self.__kim_model_name is not None:
|
744
|
+
reinst = False
|
745
|
+
if hasattr(self.__calc, "clean"):
|
746
|
+
self.__calc.clean()
|
747
|
+
reinst = True
|
748
|
+
if hasattr(self.__calc, "__del__"):
|
749
|
+
self.__calc.__del__()
|
750
|
+
reinst = True
|
751
|
+
if reinst:
|
752
|
+
from ase.calculators.kim.kim import KIM
|
753
|
+
|
754
|
+
self.__calc = KIM(self.__kim_model_name)
|
743
755
|
return self.__calc
|
744
756
|
|
745
757
|
def _get_serialized_property_instances(self) -> str:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: kim-tools
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.8
|
4
4
|
Summary: Base classes and helper routines for writing KIM Tests
|
5
5
|
Author-email: ilia Nikiforov <nikif002@umn.edu>, Ellad Tadmor <tadmor@umn.edu>, Claire Waters <bwaters@umn.edu>, "Daniel S. Karls" <karl0100umn@gmail.com>, Matt Bierbaum <matt.bierbaum@gmail.com>, Eric Fuemmeler <efuemmel@umn.edu>, Philipp Hoellmer <ph2484@nyu.edu>, Guanming Zhang <gz2241@nyu.edu>, Tom Egg <tje3676@nyu.edu>
|
6
6
|
Maintainer-email: ilia Nikiforov <nikif002@umn.edu>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
kim_tools/__init__.py,sha256=
|
1
|
+
kim_tools/__init__.py,sha256=o4FkQYztpRGZDCmNnunqWf52sD1duQXKVf-HNvWPicg,433
|
2
2
|
kim_tools/kimunits.py,sha256=jOxBv9gRVhxPE6ygAIUxOzCAfPI6tT6sBaF_FNl9m-M,5387
|
3
3
|
kim_tools/aflow_util/__init__.py,sha256=lJnQ8fZCma80QVRQeKvY4MQ87oCWu-9KATV3dKJfpDc,80
|
4
4
|
kim_tools/aflow_util/core.py,sha256=9qlQQwhcFKJ8HwcHdEPgoEKRK_viQAFlZUqCV9nlcE0,80301
|
@@ -2023,11 +2023,11 @@ kim_tools/symmetry_util/data/wyck_pos_xform_under_normalizer.json,sha256=6g1YuYh
|
|
2023
2023
|
kim_tools/symmetry_util/data/wyckoff_multiplicities.json,sha256=qG2RPBd_-ejDIfz-E4ZhkHyRpIboxRy7oiXkdDf5Eg8,32270
|
2024
2024
|
kim_tools/symmetry_util/data/wyckoff_sets.json,sha256=f5ZpHKDHo6_JWki1b7KUGoYLlhU-44Qikw_-PtbLssw,9248
|
2025
2025
|
kim_tools/test_driver/__init__.py,sha256=KOiceeZNqkfrgZ66CiRiUdniceDrCmmDXQkOw0wXaCQ,92
|
2026
|
-
kim_tools/test_driver/core.py,sha256=
|
2026
|
+
kim_tools/test_driver/core.py,sha256=CHAzezGPheocMHWlLYEgBTx_AKg1TeQKFUz8gl33eCg,93782
|
2027
2027
|
kim_tools/vc/__init__.py,sha256=zXjhxXCKVMLBMXXWYG3if7VOpBnsFrn_RjVpnohDm5c,74
|
2028
2028
|
kim_tools/vc/core.py,sha256=BIjzEExnQAL2S90a_npptRm3ACqAo4fZBtvTDBMWMdw,13963
|
2029
|
-
kim_tools-0.3.
|
2030
|
-
kim_tools-0.3.
|
2031
|
-
kim_tools-0.3.
|
2032
|
-
kim_tools-0.3.
|
2033
|
-
kim_tools-0.3.
|
2029
|
+
kim_tools-0.3.8.dist-info/licenses/LICENSE.CDDL,sha256=I2luEED_SHjuZ01B4rYG-AF_135amL24JpHvZ1Jhqe8,16373
|
2030
|
+
kim_tools-0.3.8.dist-info/METADATA,sha256=vEHgLFGSkwZlQUcZNoOj0lQxXG4-fgEgQom6UwjP2zk,2032
|
2031
|
+
kim_tools-0.3.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
2032
|
+
kim_tools-0.3.8.dist-info/top_level.txt,sha256=w_YCpJ5ERigj9te74ln7k64tqj1VumOzM_s9dsalIWY,10
|
2033
|
+
kim_tools-0.3.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|