emmet-builders 0.85.1__py3-none-any.whl → 0.86.0rc0__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.
Potentially problematic release.
This version of emmet-builders might be problematic. Click here for more details.
- emmet/builders/vasp/task_validator.py +11 -8
- {emmet_builders-0.85.1.dist-info → emmet_builders-0.86.0rc0.dist-info}/METADATA +1 -1
- {emmet_builders-0.85.1.dist-info → emmet_builders-0.86.0rc0.dist-info}/RECORD +5 -5
- {emmet_builders-0.85.1.dist-info → emmet_builders-0.86.0rc0.dist-info}/WHEEL +0 -0
- {emmet_builders-0.85.1.dist-info → emmet_builders-0.86.0rc0.dist-info}/top_level.txt +0 -0
|
@@ -4,8 +4,8 @@ from maggma.core import Store
|
|
|
4
4
|
from emmet.builders.settings import EmmetBuildSettings
|
|
5
5
|
from emmet.builders.utils import get_potcar_stats
|
|
6
6
|
from emmet.core.tasks import TaskDoc
|
|
7
|
+
from emmet.core.types.enums import DeprecationMessage
|
|
7
8
|
from emmet.core.vasp.calc_types.enums import CalcType
|
|
8
|
-
from emmet.core.vasp.validation import DeprecationMessage
|
|
9
9
|
from emmet.core.vasp.validation_legacy import ValidationDoc
|
|
10
10
|
|
|
11
11
|
|
|
@@ -75,12 +75,15 @@ class TaskValidator(MapBuilder):
|
|
|
75
75
|
potcar_stats=self.potcar_stats,
|
|
76
76
|
)
|
|
77
77
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
if task_doc.tags:
|
|
79
|
+
bad_tags = list(
|
|
80
|
+
set(task_doc.tags).intersection(self.settings.DEPRECATED_TAGS)
|
|
81
|
+
)
|
|
82
|
+
if len(bad_tags) > 0:
|
|
83
|
+
validation_doc.warnings.append(
|
|
84
|
+
f"Manual Deprecation by tags: {bad_tags}"
|
|
85
|
+
)
|
|
86
|
+
validation_doc.valid = False
|
|
87
|
+
validation_doc.reasons.append(DeprecationMessage.MANUAL)
|
|
85
88
|
|
|
86
89
|
return validation_doc
|
|
@@ -34,8 +34,8 @@ emmet/builders/mobility/migration_graph.py,sha256=BxVh3homd9GEniB33_dJ1e2wmRvMni
|
|
|
34
34
|
emmet/builders/vasp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
35
|
emmet/builders/vasp/materials.py,sha256=pcSUF78RBaKL3FdyDB6QSjrL0apUi3PT0A8Sj6Bc5Ks,13302
|
|
36
36
|
emmet/builders/vasp/mp_potcar_stats.json.gz,sha256=x3bn4gSMj1U_3bR2qKIaBtbJlYT-EJgoUIMFTA9bvaU,338957
|
|
37
|
-
emmet/builders/vasp/task_validator.py,sha256=
|
|
38
|
-
emmet_builders-0.
|
|
39
|
-
emmet_builders-0.
|
|
40
|
-
emmet_builders-0.
|
|
41
|
-
emmet_builders-0.
|
|
37
|
+
emmet/builders/vasp/task_validator.py,sha256=LCj-LBuNzt2vJQ8G6WJvBtiM7_Kxrh3Uhvq97viVoIA,3033
|
|
38
|
+
emmet_builders-0.86.0rc0.dist-info/METADATA,sha256=E5D3DZVgAMJInIdmNqwPFiMdXfp7XrTWarkPw1dT1kg,1591
|
|
39
|
+
emmet_builders-0.86.0rc0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
40
|
+
emmet_builders-0.86.0rc0.dist-info/top_level.txt,sha256=6GcpbmWPeFhNCTfDFilb8GQ4T1UQu4z9c5jpobjwE-Q,6
|
|
41
|
+
emmet_builders-0.86.0rc0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|