mat3ra-esse 2024.12.19.post0__py3-none-any.whl → 2025.1.27.post0__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 mat3ra-esse might be problematic. Click here for more details.

Files changed (80) hide show
  1. mat3ra/esse/data/examples.py +1 -1
  2. mat3ra/esse/data/properties.py +2 -2
  3. mat3ra/esse/data/schemas.py +1 -1
  4. mat3ra/esse/models/core/reference/__init__.py +1 -1
  5. mat3ra/esse/models/core/reference/modeling/__init__.py +1 -1
  6. mat3ra/esse/models/core/reference/modeling/exabyte.py +1 -1
  7. mat3ra/esse/models/element.py +4 -4
  8. mat3ra/esse/models/in_memory_entity/base.py +1 -34
  9. mat3ra/esse/models/in_memory_entity/defaultable.py +1 -34
  10. mat3ra/esse/models/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.py +61 -0
  11. mat3ra/esse/models/in_memory_entity/named.py +1 -34
  12. mat3ra/esse/models/in_memory_entity/named_defaultable.py +1 -34
  13. mat3ra/esse/models/in_memory_entity/named_defaultable_has_metadata.py +1 -34
  14. mat3ra/esse/models/in_memory_entity/named_defaultable_runtime_items.py +0 -33
  15. mat3ra/esse/models/job/__init__.py +3 -617
  16. mat3ra/esse/models/job/base.py +1 -33
  17. mat3ra/esse/models/material/__init__.py +14 -14
  18. mat3ra/esse/models/material/consistency_check.py +40 -0
  19. mat3ra/esse/models/project.py +0 -33
  20. mat3ra/esse/models/properties_directory/derived_properties.py +6 -6
  21. mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +26 -26
  22. mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +4 -4
  23. mat3ra/esse/models/property/base/__init__.py +0 -32
  24. mat3ra/esse/models/property/meta/__init__.py +0 -32
  25. mat3ra/esse/models/property/raw/__init__.py +0 -32
  26. mat3ra/esse/models/software/application.py +1 -34
  27. mat3ra/esse/models/software/executable.py +0 -33
  28. mat3ra/esse/models/software/flavor.py +0 -33
  29. mat3ra/esse/models/software/template.py +0 -33
  30. mat3ra/esse/models/software_directory/ml/unit/execution/__init__.py +3 -488
  31. mat3ra/esse/models/software_directory/ml/unit/execution/evaluate/cross_validate.py +0 -92
  32. mat3ra/esse/models/software_directory/ml/unit/execution/initialize.py +0 -92
  33. mat3ra/esse/models/software_directory/ml/unit/execution/score.py +0 -92
  34. mat3ra/esse/models/software_directory/ml/unit/execution/train.py +0 -92
  35. mat3ra/esse/models/software_directory/ml/unit/processing/__init__.py +0 -52
  36. mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/__init__.py +0 -32
  37. mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/manipulation.py +0 -32
  38. mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.py +0 -32
  39. mat3ra/esse/models/software_directory/ml/unit/processing/feature_selection/__init__.py +0 -32
  40. mat3ra/esse/models/software_directory/ml/unit/processing/feature_selection/filter_based.py +0 -32
  41. mat3ra/esse/models/software_directory/modeling/deepmd.py +1 -33
  42. mat3ra/esse/models/software_directory/modeling/nwchem.py +1 -33
  43. mat3ra/esse/models/software_directory/modeling/unit/execution.py +0 -92
  44. mat3ra/esse/models/software_directory/modeling/vasp.py +1 -33
  45. mat3ra/esse/models/software_directory/scripting/jupyter_lab.py +1 -33
  46. mat3ra/esse/models/software_directory/scripting/python.py +0 -32
  47. mat3ra/esse/models/software_directory/scripting/shell.py +1 -33
  48. mat3ra/esse/models/software_directory/scripting/unit/execution.py +0 -92
  49. mat3ra/esse/models/system/_material.py +1 -1
  50. mat3ra/esse/models/system/_parent_job.py +1 -1
  51. mat3ra/esse/models/system/_project.py +1 -1
  52. mat3ra/esse/models/system/consistency_check.py +1 -7
  53. mat3ra/esse/models/system/creator.py +1 -1
  54. mat3ra/esse/models/system/creator_account.py +1 -1
  55. mat3ra/esse/models/system/description.py +1 -1
  56. mat3ra/esse/models/system/entity_reference.py +1 -1
  57. mat3ra/esse/models/system/has_consistency_check.py +39 -0
  58. mat3ra/esse/models/system/in_set.py +1 -1
  59. mat3ra/esse/models/system/job_extended.py +1 -1
  60. mat3ra/esse/models/system/owner.py +1 -1
  61. mat3ra/esse/models/workflow/__init__.py +2 -596
  62. mat3ra/esse/models/workflow/base.py +0 -33
  63. mat3ra/esse/models/workflow/subworkflow/__init__.py +1 -284
  64. mat3ra/esse/models/workflow/subworkflow/unit.py +0 -212
  65. mat3ra/esse/models/workflow/unit/__init__.py +0 -252
  66. mat3ra/esse/models/workflow/unit/assertion.py +0 -32
  67. mat3ra/esse/models/workflow/unit/assignment.py +0 -32
  68. mat3ra/esse/models/workflow/unit/base.py +0 -32
  69. mat3ra/esse/models/workflow/unit/condition.py +0 -32
  70. mat3ra/esse/models/workflow/unit/execution.py +0 -92
  71. mat3ra/esse/models/workflow/unit/io/__init__.py +0 -32
  72. mat3ra/esse/models/workflow/unit/map.py +0 -32
  73. mat3ra/esse/models/workflow/unit/processing.py +0 -32
  74. mat3ra/esse/models/workflow/unit/reduce.py +0 -32
  75. mat3ra/esse/models/workflow/unit/subworkflow.py +0 -32
  76. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/METADATA +9 -9
  77. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/RECORD +80 -77
  78. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/WHEEL +1 -1
  79. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/LICENSE.md +0 -0
  80. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/top_level.txt +0 -0
@@ -14,37 +14,6 @@ class Type(Enum):
14
14
  execution = "execution"
15
15
 
16
16
 
17
- class Name(Enum):
18
- default = "default"
19
- atomsTooClose = "atomsTooClose"
20
- atomsOverlap = "atomsOverlap"
21
-
22
-
23
- class Severity(Enum):
24
- info = "info"
25
- warning = "warning"
26
- error = "error"
27
-
28
-
29
- class ConsistencyCheck(BaseModel):
30
- key: str
31
- """
32
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
33
- """
34
- name: Name
35
- """
36
- Name of the consistency check that is performed, which is listed in an enum.
37
- """
38
- severity: Severity
39
- """
40
- Severity level of the problem, which is used in UI to differentiate.
41
- """
42
- message: str
43
- """
44
- Message generated by the consistency check describing the problem.
45
- """
46
-
47
-
48
17
  class ApplicationSchemaBase(BaseModel):
49
18
  model_config = ConfigDict(
50
19
  extra="allow",
@@ -82,7 +51,6 @@ class ApplicationSchemaBase(BaseModel):
82
51
  entity slug
83
52
  """
84
53
  systemName: Optional[str] = None
85
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
86
54
  schemaVersion: Optional[str] = "2022.8.16"
87
55
  """
88
56
  entity's schema version. Used to distinct between different schemas.
@@ -97,25 +65,6 @@ class ApplicationSchemaBase(BaseModel):
97
65
  """
98
66
 
99
67
 
100
- class ConsistencyCheck23(BaseModel):
101
- key: str
102
- """
103
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
104
- """
105
- name: Name
106
- """
107
- Name of the consistency check that is performed, which is listed in an enum.
108
- """
109
- severity: Severity
110
- """
111
- Severity level of the problem, which is used in UI to differentiate.
112
- """
113
- message: str
114
- """
115
- Message generated by the consistency check describing the problem.
116
- """
117
-
118
-
119
68
  class NameResultSchema(BaseModel):
120
69
  name: str
121
70
  """
@@ -145,7 +94,6 @@ class ExecutableSchema(BaseModel):
145
94
  entity slug
146
95
  """
147
96
  systemName: Optional[str] = None
148
- consistencyChecks: Optional[List[ConsistencyCheck23]] = None
149
97
  schemaVersion: Optional[str] = "2022.8.16"
150
98
  """
151
99
  entity's schema version. Used to distinct between different schemas.
@@ -184,25 +132,6 @@ class ExecutionUnitInputIdItemSchemaForPhysicsBasedSimulationEngines(BaseModel):
184
132
  """
185
133
 
186
134
 
187
- class ConsistencyCheck24(BaseModel):
188
- key: str
189
- """
190
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
191
- """
192
- name: Name
193
- """
194
- Name of the consistency check that is performed, which is listed in an enum.
195
- """
196
- severity: Severity
197
- """
198
- Severity level of the problem, which is used in UI to differentiate.
199
- """
200
- message: str
201
- """
202
- Message generated by the consistency check describing the problem.
203
- """
204
-
205
-
206
135
  class FlavorSchema(BaseModel):
207
136
  executableId: Optional[str] = None
208
137
  """
@@ -228,7 +157,6 @@ class FlavorSchema(BaseModel):
228
157
  entity slug
229
158
  """
230
159
  systemName: Optional[str] = None
231
- consistencyChecks: Optional[List[ConsistencyCheck24]] = None
232
160
  schemaVersion: Optional[str] = "2022.8.16"
233
161
  """
234
162
  entity's schema version. Used to distinct between different schemas.
@@ -278,25 +206,6 @@ class Status(Enum):
278
206
  finished = "finished"
279
207
 
280
208
 
281
- class ConsistencyCheck25(BaseModel):
282
- key: str
283
- """
284
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
285
- """
286
- name: Name
287
- """
288
- Name of the consistency check that is performed, which is listed in an enum.
289
- """
290
- severity: Severity
291
- """
292
- Severity level of the problem, which is used in UI to differentiate.
293
- """
294
- message: str
295
- """
296
- Message generated by the consistency check describing the problem.
297
- """
298
-
299
-
300
209
  class StatusTrackItem(BaseModel):
301
210
  trackedAt: float
302
211
  status: str
@@ -358,7 +267,6 @@ class ExecutionUnitSchemaForScriptingBasedApplications(BaseModel):
358
267
  entity slug
359
268
  """
360
269
  systemName: Optional[str] = None
361
- consistencyChecks: Optional[List[ConsistencyCheck25]] = None
362
270
  schemaVersion: Optional[str] = "2022.8.16"
363
271
  """
364
272
  entity's schema version. Used to distinct between different schemas.
@@ -19,7 +19,7 @@ class MaterialEntityReferenceSchema(BaseModel):
19
19
  """
20
20
  Material class
21
21
  """
22
- field_id: Optional[str] = Field(None, alias="_id")
22
+ field_id: str = Field(..., alias="_id")
23
23
  """
24
24
  entity identity
25
25
  """
@@ -19,7 +19,7 @@ class ParentJobEntityReferenceSchema(BaseModel):
19
19
  """
20
20
  Job class
21
21
  """
22
- field_id: Optional[str] = Field(None, alias="_id")
22
+ field_id: str = Field(..., alias="_id")
23
23
  """
24
24
  entity identity
25
25
  """
@@ -19,7 +19,7 @@ class ProjectEntityReferenceSchema(BaseModel):
19
19
  """
20
20
  Project class
21
21
  """
22
- field_id: Optional[str] = Field(None, alias="_id")
22
+ field_id: str = Field(..., alias="_id")
23
23
  """
24
24
  entity identity
25
25
  """
@@ -9,12 +9,6 @@ from enum import Enum
9
9
  from pydantic import BaseModel
10
10
 
11
11
 
12
- class Name(Enum):
13
- default = "default"
14
- atomsTooClose = "atomsTooClose"
15
- atomsOverlap = "atomsOverlap"
16
-
17
-
18
12
  class Severity(Enum):
19
13
  info = "info"
20
14
  warning = "warning"
@@ -26,7 +20,7 @@ class ConsistencyCheck(BaseModel):
26
20
  """
27
21
  Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
28
22
  """
29
- name: Name
23
+ name: str
30
24
  """
31
25
  Name of the consistency check that is performed, which is listed in an enum.
32
26
  """
@@ -19,7 +19,7 @@ class CreatorEntityReferenceSchema(BaseModel):
19
19
  """
20
20
  Creator class
21
21
  """
22
- field_id: Optional[str] = Field(None, alias="_id")
22
+ field_id: str = Field(..., alias="_id")
23
23
  """
24
24
  entity identity
25
25
  """
@@ -10,7 +10,7 @@ from pydantic import BaseModel, Field
10
10
 
11
11
 
12
12
  class EntityReferenceSchema(BaseModel):
13
- field_id: Optional[str] = Field(None, alias="_id")
13
+ field_id: str = Field(..., alias="_id")
14
14
  """
15
15
  entity identity
16
16
  """
@@ -9,7 +9,7 @@ from typing import Any, Dict, Optional
9
9
  from pydantic import BaseModel
10
10
 
11
11
 
12
- class ExtendedBaseEntitySchema(BaseModel):
12
+ class DescriptionSchema(BaseModel):
13
13
  description: Optional[str] = None
14
14
  """
15
15
  entity description
@@ -10,7 +10,7 @@ from pydantic import BaseModel, Field
10
10
 
11
11
 
12
12
  class EntityReferenceSchema(BaseModel):
13
- field_id: Optional[str] = Field(None, alias="_id")
13
+ field_id: str = Field(..., alias="_id")
14
14
  """
15
15
  entity identity
16
16
  """
@@ -0,0 +1,39 @@
1
+ # generated by datamodel-codegen:
2
+ # filename: system/has_consistency_check.json
3
+ # version: 0.25.5
4
+
5
+ from __future__ import annotations
6
+
7
+ from enum import Enum
8
+ from typing import List, Optional
9
+
10
+ from pydantic import BaseModel
11
+
12
+
13
+ class Severity(Enum):
14
+ info = "info"
15
+ warning = "warning"
16
+ error = "error"
17
+
18
+
19
+ class ConsistencyCheck(BaseModel):
20
+ key: str
21
+ """
22
+ Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
23
+ """
24
+ name: str
25
+ """
26
+ Name of the consistency check that is performed, which is listed in an enum.
27
+ """
28
+ severity: Severity
29
+ """
30
+ Severity level of the problem, which is used in UI to differentiate.
31
+ """
32
+ message: str
33
+ """
34
+ Message generated by the consistency check describing the problem.
35
+ """
36
+
37
+
38
+ class HasConsistencyCheckSchema(BaseModel):
39
+ consistencyChecks: Optional[List[ConsistencyCheck]] = None
@@ -10,7 +10,7 @@ from pydantic import BaseModel, Field
10
10
 
11
11
 
12
12
  class EntityReferenceSchema(BaseModel):
13
- field_id: Optional[str] = Field(None, alias="_id")
13
+ field_id: str = Field(..., alias="_id")
14
14
  """
15
15
  entity identity
16
16
  """
@@ -10,7 +10,7 @@ from pydantic import BaseModel, Field
10
10
 
11
11
 
12
12
  class EntityReferenceSchema(BaseModel):
13
- field_id: Optional[str] = Field(None, alias="_id")
13
+ field_id: str = Field(..., alias="_id")
14
14
  """
15
15
  entity identity
16
16
  """
@@ -19,7 +19,7 @@ class EntityOwnerReferenceSchema(BaseModel):
19
19
  """
20
20
  Entity owner class
21
21
  """
22
- field_id: Optional[str] = Field(None, alias="_id")
22
+ field_id: str = Field(..., alias="_id")
23
23
  """
24
24
  entity identity
25
25
  """