mat3ra-esse 2025.7.29.post0__py3-none-any.whl → 2025.8.6.post1__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.
- mat3ra/esse/data/examples.py +1 -1
- mat3ra/esse/data/schemas.py +1 -1
- mat3ra/esse/models/apse/file/applications/espresso/7.2/pw_x.py +6 -6
- mat3ra/esse/models/core/reusable/energy.py +2 -2
- mat3ra/esse/models/element.py +6 -6
- mat3ra/esse/models/material/__init__.py +14 -14
- mat3ra/esse/models/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.py +549 -2319
- mat3ra/esse/models/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.py +537 -2307
- mat3ra/esse/models/materials_category/defective_structures/two_dimensional/adatom/configuration.py +206 -190
- mat3ra/esse/models/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.py +56 -1826
- mat3ra/esse/models/materials_category/defective_structures/two_dimensional/island/configuration.py +331 -311
- mat3ra/esse/models/materials_category/defective_structures/two_dimensional/terrace/configuration.py +331 -311
- mat3ra/esse/models/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.py +72 -72
- mat3ra/esse/models/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.py +72 -72
- mat3ra/esse/models/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.py +14 -14
- mat3ra/esse/models/materials_category/pristine_structures/three_dimensional/ideal_crystal.py +14 -14
- mat3ra/esse/models/materials_category/pristine_structures/two_dimensional/nanoribbon.py +150 -134
- mat3ra/esse/models/materials_category/pristine_structures/two_dimensional/nanotape.py +86 -74
- mat3ra/esse/models/materials_category/pristine_structures/two_dimensional/slab.py +84 -72
- mat3ra/esse/models/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.py +84 -72
- mat3ra/esse/models/materials_category/processed_structures/two_dimensional/passivation/configuration.py +70 -70
- mat3ra/esse/models/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/auxiliary/zero_dimensional/void_region.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/core/three_dimensional/crystal.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/core/two_dimensional/vacuum.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.py +16 -16
- mat3ra/esse/models/materials_category_components/entities/reusable/three_dimensional/crystal_lattice_base.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/reusable/{repetitions.py → three_dimensional/repetitions.py} +1 -1
- mat3ra/esse/models/materials_category_components/entities/reusable/three_dimensional/strained_non_uniform.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/reusable/three_dimensional/strained_uniform.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/reusable/three_dimensional/supercell.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/reusable/two_dimensional/crystal_lattice_planes.py +14 -14
- mat3ra/esse/models/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.py +148 -132
- mat3ra/esse/models/materials_category_components/operations/core/combinations/stack.py +14 -2
- mat3ra/esse/models/materials_category_components/operations/core/modifications/perturb.py +14 -14
- mat3ra/esse/models/properties_directory/derived_properties.py +11 -11
- mat3ra/esse/models/properties_directory/non_scalar/density_of_states.py +2 -2
- mat3ra/esse/models/properties_directory/non_scalar/phonon_dispersions.py +2 -2
- mat3ra/esse/models/properties_directory/non_scalar/phonon_dos.py +2 -2
- mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +50 -50
- mat3ra/esse/models/properties_directory/non_scalar/vibrational_spectrum.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/electron_affinity.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/fermi_energy.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/formation_energy.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/ionization_potential.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/reaction_energy_barrier.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/surface_energy.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/total_energy.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/valence_band_offset.py +2 -2
- mat3ra/esse/models/properties_directory/scalar/zero_point_energy.py +2 -2
- mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +4 -4
- mat3ra/esse/models/properties_directory/workflow/convergence/ionic.py +2 -2
- mat3ra/esse/models/software/template.py +4 -0
- mat3ra/esse/models/software_directory/modeling/unit/execution.py +4 -0
- mat3ra/esse/models/software_directory/scripting/unit/execution.py +4 -0
- mat3ra/esse/models/workflow/unit/input/_input.py +4 -0
- mat3ra/esse/models/workflow/unit/input/_inputItem.py +4 -0
- {mat3ra_esse-2025.7.29.post0.dist-info → mat3ra_esse-2025.8.6.post1.dist-info}/METADATA +1 -1
- {mat3ra_esse-2025.7.29.post0.dist-info → mat3ra_esse-2025.8.6.post1.dist-info}/RECORD +64 -65
- mat3ra/esse/models/materials_category/pristine_structures/two_dimensional/slab_strained_supercell_with_gap.py +0 -1151
- {mat3ra_esse-2025.7.29.post0.dist-info → mat3ra_esse-2025.8.6.post1.dist-info}/WHEEL +0 -0
- {mat3ra_esse-2025.7.29.post0.dist-info → mat3ra_esse-2025.8.6.post1.dist-info}/licenses/LICENSE.md +0 -0
- {mat3ra_esse-2025.7.29.post0.dist-info → mat3ra_esse-2025.8.6.post1.dist-info}/top_level.txt +0 -0
|
@@ -131,13 +131,13 @@ class Value(Enum):
|
|
|
131
131
|
Og = "Og"
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
class
|
|
134
|
+
class Value165(Enum):
|
|
135
135
|
X = "X"
|
|
136
136
|
Vac = "Vac"
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
class AtomicElementSchema(BaseModel):
|
|
140
|
-
value: Union[Value,
|
|
140
|
+
value: Union[Value, Value165]
|
|
141
141
|
"""
|
|
142
142
|
All elements, including extra elements
|
|
143
143
|
"""
|
|
@@ -285,30 +285,30 @@ class VolumeSchema(BaseModel):
|
|
|
285
285
|
value: float
|
|
286
286
|
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Name663(Enum):
|
|
289
289
|
density = "density"
|
|
290
290
|
|
|
291
291
|
|
|
292
|
-
class
|
|
292
|
+
class Units271(Enum):
|
|
293
293
|
g_cm_3 = "g/cm^3"
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
class DensitySchema(BaseModel):
|
|
297
297
|
name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
|
|
298
|
-
units: Optional[
|
|
298
|
+
units: Optional[Units271] = None
|
|
299
299
|
value: float
|
|
300
300
|
|
|
301
301
|
|
|
302
|
-
class
|
|
302
|
+
class Units272(Enum):
|
|
303
303
|
angstrom = "angstrom"
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
class ScalarSchema(BaseModel):
|
|
307
|
-
units: Optional[
|
|
307
|
+
units: Optional[Units272] = None
|
|
308
308
|
value: float
|
|
309
309
|
|
|
310
310
|
|
|
311
|
-
class
|
|
311
|
+
class Name664(Enum):
|
|
312
312
|
symmetry = "symmetry"
|
|
313
313
|
|
|
314
314
|
|
|
@@ -328,7 +328,7 @@ class SymmetrySchema(BaseModel):
|
|
|
328
328
|
name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
|
|
329
329
|
|
|
330
330
|
|
|
331
|
-
class
|
|
331
|
+
class Name665(Enum):
|
|
332
332
|
elemental_ratio = "elemental_ratio"
|
|
333
333
|
|
|
334
334
|
|
|
@@ -341,7 +341,7 @@ class ElementalRatio(BaseModel):
|
|
|
341
341
|
"""
|
|
342
342
|
|
|
343
343
|
|
|
344
|
-
class
|
|
344
|
+
class Name666(Enum):
|
|
345
345
|
p_norm = "p-norm"
|
|
346
346
|
|
|
347
347
|
|
|
@@ -354,7 +354,7 @@ class PNorm(BaseModel):
|
|
|
354
354
|
value: float
|
|
355
355
|
|
|
356
356
|
|
|
357
|
-
class
|
|
357
|
+
class Name667(Enum):
|
|
358
358
|
inchi = "inchi"
|
|
359
359
|
|
|
360
360
|
|
|
@@ -363,7 +363,7 @@ class InChIRepresentationSchema(BaseModel):
|
|
|
363
363
|
value: str
|
|
364
364
|
|
|
365
365
|
|
|
366
|
-
class
|
|
366
|
+
class Name668(Enum):
|
|
367
367
|
inchi_key = "inchi_key"
|
|
368
368
|
|
|
369
369
|
|
|
@@ -442,7 +442,7 @@ class FileSourceSchema(BaseModel):
|
|
|
442
442
|
"""
|
|
443
443
|
|
|
444
444
|
|
|
445
|
-
class
|
|
445
|
+
class Name669(Enum):
|
|
446
446
|
default = "default"
|
|
447
447
|
atomsTooClose = "atomsTooClose"
|
|
448
448
|
atomsOverlap = "atomsOverlap"
|
|
@@ -455,7 +455,7 @@ class Severity(Enum):
|
|
|
455
455
|
|
|
456
456
|
|
|
457
457
|
class MaterialConsistencyCheckSchema(BaseModel):
|
|
458
|
-
name:
|
|
458
|
+
name: Name669
|
|
459
459
|
"""
|
|
460
460
|
Name of the consistency check that is performed, which is listed in an enum.
|
|
461
461
|
"""
|
|
@@ -530,7 +530,7 @@ class CrystalSchema(BaseModel):
|
|
|
530
530
|
metadata: Optional[Dict[str, Any]] = None
|
|
531
531
|
|
|
532
532
|
|
|
533
|
-
class
|
|
533
|
+
class Value166(Enum):
|
|
534
534
|
H = "H"
|
|
535
535
|
He = "He"
|
|
536
536
|
Li = "Li"
|
|
@@ -651,13 +651,13 @@ class Value194(Enum):
|
|
|
651
651
|
Og = "Og"
|
|
652
652
|
|
|
653
653
|
|
|
654
|
-
class
|
|
654
|
+
class Value167(Enum):
|
|
655
655
|
X = "X"
|
|
656
656
|
Vac = "Vac"
|
|
657
657
|
|
|
658
658
|
|
|
659
|
-
class
|
|
660
|
-
value: Union[
|
|
659
|
+
class AtomicElementSchema79(BaseModel):
|
|
660
|
+
value: Union[Value166, Value167]
|
|
661
661
|
"""
|
|
662
662
|
All elements, including extra elements
|
|
663
663
|
"""
|
|
@@ -667,8 +667,8 @@ class AtomicElementSchema93(BaseModel):
|
|
|
667
667
|
"""
|
|
668
668
|
|
|
669
669
|
|
|
670
|
-
class
|
|
671
|
-
elements: List[
|
|
670
|
+
class BasisSchema77(BaseModel):
|
|
671
|
+
elements: List[AtomicElementSchema79] = Field(..., title="atomic elements schema")
|
|
672
672
|
"""
|
|
673
673
|
atomic elements schema
|
|
674
674
|
"""
|
|
@@ -683,7 +683,7 @@ class BasisSchema91(BaseModel):
|
|
|
683
683
|
"""
|
|
684
684
|
|
|
685
685
|
|
|
686
|
-
class
|
|
686
|
+
class LatticeVectorsSchema77(BaseModel):
|
|
687
687
|
a: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
688
688
|
b: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
689
689
|
c: List[float] = Field(..., max_length=3, min_length=3, title="vector 3d schema")
|
|
@@ -694,12 +694,12 @@ class LatticeVectorsSchema91(BaseModel):
|
|
|
694
694
|
units: Optional[LatticeVectorsUnitsEnum] = Field("angstrom", title="lattice vectors units enum")
|
|
695
695
|
|
|
696
696
|
|
|
697
|
-
class
|
|
697
|
+
class LatticeUnitsSchema78(BaseModel):
|
|
698
698
|
length: Optional[LatticeUnitsLengthEnum] = Field("angstrom", title="lattice units length enum")
|
|
699
699
|
angle: Optional[LatticeUnitsAngleEnum] = Field("degree", title="lattice units angle enum")
|
|
700
700
|
|
|
701
701
|
|
|
702
|
-
class
|
|
702
|
+
class LatticeSchema77(BaseModel):
|
|
703
703
|
a: float
|
|
704
704
|
"""
|
|
705
705
|
length of the first lattice vector
|
|
@@ -724,56 +724,56 @@ class LatticeSchema91(BaseModel):
|
|
|
724
724
|
"""
|
|
725
725
|
angle between first and third lattice vector
|
|
726
726
|
"""
|
|
727
|
-
vectors: Optional[
|
|
727
|
+
vectors: Optional[LatticeVectorsSchema77] = Field(None, title="lattice vectors schema")
|
|
728
728
|
type: Optional[LatticeTypeEnum] = Field("TRI", title="lattice type enum")
|
|
729
|
-
units: Optional[
|
|
730
|
-
default_factory=lambda:
|
|
729
|
+
units: Optional[LatticeUnitsSchema78] = Field(
|
|
730
|
+
default_factory=lambda: LatticeUnitsSchema78.model_validate({"length": "angstrom", "angle": "degree"}),
|
|
731
731
|
title="Lattice units schema",
|
|
732
732
|
)
|
|
733
733
|
|
|
734
734
|
|
|
735
|
-
class
|
|
735
|
+
class Name670(Enum):
|
|
736
736
|
volume = "volume"
|
|
737
737
|
|
|
738
738
|
|
|
739
|
-
class
|
|
739
|
+
class Units273(Enum):
|
|
740
740
|
angstrom_3 = "angstrom^3"
|
|
741
741
|
|
|
742
742
|
|
|
743
|
-
class
|
|
743
|
+
class VolumeSchema77(BaseModel):
|
|
744
744
|
name: Literal["0#-datamodel-code-generator-#-object-#-special-#"]
|
|
745
|
-
units: Optional[
|
|
745
|
+
units: Optional[Units273] = None
|
|
746
746
|
value: float
|
|
747
747
|
|
|
748
748
|
|
|
749
|
-
class
|
|
749
|
+
class Name671(Enum):
|
|
750
750
|
density = "density"
|
|
751
751
|
|
|
752
752
|
|
|
753
|
-
class
|
|
753
|
+
class Units274(Enum):
|
|
754
754
|
g_cm_3 = "g/cm^3"
|
|
755
755
|
|
|
756
756
|
|
|
757
|
-
class
|
|
757
|
+
class DensitySchema78(BaseModel):
|
|
758
758
|
name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
|
|
759
|
-
units: Optional[
|
|
759
|
+
units: Optional[Units274] = None
|
|
760
760
|
value: float
|
|
761
761
|
|
|
762
762
|
|
|
763
|
-
class
|
|
763
|
+
class Units275(Enum):
|
|
764
764
|
angstrom = "angstrom"
|
|
765
765
|
|
|
766
766
|
|
|
767
|
-
class
|
|
768
|
-
units: Optional[
|
|
767
|
+
class ScalarSchema79(BaseModel):
|
|
768
|
+
units: Optional[Units275] = None
|
|
769
769
|
value: float
|
|
770
770
|
|
|
771
771
|
|
|
772
|
-
class
|
|
772
|
+
class Name672(Enum):
|
|
773
773
|
symmetry = "symmetry"
|
|
774
774
|
|
|
775
775
|
|
|
776
|
-
class
|
|
776
|
+
class SymmetrySchema77(BaseModel):
|
|
777
777
|
pointGroupSymbol: Optional[str] = None
|
|
778
778
|
"""
|
|
779
779
|
point group symbol in Schoenflies notation
|
|
@@ -782,18 +782,18 @@ class SymmetrySchema91(BaseModel):
|
|
|
782
782
|
"""
|
|
783
783
|
space group symbol in Hermann–Mauguin notation
|
|
784
784
|
"""
|
|
785
|
-
tolerance: Optional[
|
|
785
|
+
tolerance: Optional[ScalarSchema79] = Field(None, title="scalar schema")
|
|
786
786
|
"""
|
|
787
787
|
tolerance used for symmetry calculation
|
|
788
788
|
"""
|
|
789
789
|
name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
|
|
790
790
|
|
|
791
791
|
|
|
792
|
-
class
|
|
792
|
+
class Name673(Enum):
|
|
793
793
|
elemental_ratio = "elemental_ratio"
|
|
794
794
|
|
|
795
795
|
|
|
796
|
-
class
|
|
796
|
+
class ElementalRatio78(BaseModel):
|
|
797
797
|
name: Literal["3#-datamodel-code-generator-#-object-#-special-#"]
|
|
798
798
|
value: confloat(ge=0.0, le=1.0)
|
|
799
799
|
element: Optional[str] = None
|
|
@@ -802,11 +802,11 @@ class ElementalRatio92(BaseModel):
|
|
|
802
802
|
"""
|
|
803
803
|
|
|
804
804
|
|
|
805
|
-
class
|
|
805
|
+
class Name674(Enum):
|
|
806
806
|
p_norm = "p-norm"
|
|
807
807
|
|
|
808
808
|
|
|
809
|
-
class
|
|
809
|
+
class PNorm78(BaseModel):
|
|
810
810
|
name: Literal["4#-datamodel-code-generator-#-object-#-special-#"]
|
|
811
811
|
degree: Optional[int] = None
|
|
812
812
|
"""
|
|
@@ -815,56 +815,56 @@ class PNorm92(BaseModel):
|
|
|
815
815
|
value: float
|
|
816
816
|
|
|
817
817
|
|
|
818
|
-
class
|
|
818
|
+
class Name675(Enum):
|
|
819
819
|
inchi = "inchi"
|
|
820
820
|
|
|
821
821
|
|
|
822
|
-
class
|
|
822
|
+
class InChIRepresentationSchema78(BaseModel):
|
|
823
823
|
name: Literal["5#-datamodel-code-generator-#-object-#-special-#"]
|
|
824
824
|
value: str
|
|
825
825
|
|
|
826
826
|
|
|
827
|
-
class
|
|
827
|
+
class Name676(Enum):
|
|
828
828
|
inchi_key = "inchi_key"
|
|
829
829
|
|
|
830
830
|
|
|
831
|
-
class
|
|
831
|
+
class InChIKeyRepresentationSchema78(BaseModel):
|
|
832
832
|
name: Literal["6#-datamodel-code-generator-#-object-#-special-#"]
|
|
833
833
|
value: str
|
|
834
834
|
|
|
835
835
|
|
|
836
|
-
class
|
|
836
|
+
class DerivedPropertiesSchema78(
|
|
837
837
|
RootModel[
|
|
838
838
|
Union[
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
839
|
+
VolumeSchema77,
|
|
840
|
+
DensitySchema78,
|
|
841
|
+
SymmetrySchema77,
|
|
842
|
+
ElementalRatio78,
|
|
843
|
+
PNorm78,
|
|
844
|
+
InChIRepresentationSchema78,
|
|
845
|
+
InChIKeyRepresentationSchema78,
|
|
846
846
|
]
|
|
847
847
|
]
|
|
848
848
|
):
|
|
849
849
|
root: Union[
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
850
|
+
VolumeSchema77,
|
|
851
|
+
DensitySchema78,
|
|
852
|
+
SymmetrySchema77,
|
|
853
|
+
ElementalRatio78,
|
|
854
|
+
PNorm78,
|
|
855
|
+
InChIRepresentationSchema78,
|
|
856
|
+
InChIKeyRepresentationSchema78,
|
|
857
857
|
] = Field(..., discriminator="name")
|
|
858
858
|
|
|
859
859
|
|
|
860
|
-
class
|
|
860
|
+
class Name677(Enum):
|
|
861
861
|
default = "default"
|
|
862
862
|
atomsTooClose = "atomsTooClose"
|
|
863
863
|
atomsOverlap = "atomsOverlap"
|
|
864
864
|
|
|
865
865
|
|
|
866
|
-
class
|
|
867
|
-
name:
|
|
866
|
+
class MaterialConsistencyCheckSchema77(BaseModel):
|
|
867
|
+
name: Name677
|
|
868
868
|
"""
|
|
869
869
|
Name of the consistency check that is performed, which is listed in an enum.
|
|
870
870
|
"""
|
|
@@ -882,7 +882,7 @@ class MaterialConsistencyCheckSchema91(BaseModel):
|
|
|
882
882
|
"""
|
|
883
883
|
|
|
884
884
|
|
|
885
|
-
class
|
|
885
|
+
class CrystalSchema72(BaseModel):
|
|
886
886
|
formula: Optional[str] = None
|
|
887
887
|
"""
|
|
888
888
|
reduced chemical formula
|
|
@@ -891,9 +891,9 @@ class CrystalSchema86(BaseModel):
|
|
|
891
891
|
"""
|
|
892
892
|
chemical formula based on the number of atoms of each element in the supercell
|
|
893
893
|
"""
|
|
894
|
-
basis:
|
|
895
|
-
lattice:
|
|
896
|
-
derivedProperties: Optional[List[
|
|
894
|
+
basis: BasisSchema77 = Field(..., title="basis schema")
|
|
895
|
+
lattice: LatticeSchema77 = Field(..., title="lattice schema")
|
|
896
|
+
derivedProperties: Optional[List[DerivedPropertiesSchema78]] = Field(None, title="derived properties schema")
|
|
897
897
|
external: Optional[DatabaseSourceSchema] = Field(None, title="database source schema")
|
|
898
898
|
"""
|
|
899
899
|
information about a database source
|
|
@@ -914,7 +914,7 @@ class CrystalSchema86(BaseModel):
|
|
|
914
914
|
"""
|
|
915
915
|
Whether to work in the finite molecular picture (usually with atomic orbital basis)
|
|
916
916
|
"""
|
|
917
|
-
consistencyChecks: Optional[List[
|
|
917
|
+
consistencyChecks: Optional[List[MaterialConsistencyCheckSchema77]] = None
|
|
918
918
|
field_id: Optional[str] = Field(None, alias="_id")
|
|
919
919
|
"""
|
|
920
920
|
entity identity
|
|
@@ -1077,7 +1077,7 @@ class VacancySchema(BaseModel):
|
|
|
1077
1077
|
|
|
1078
1078
|
|
|
1079
1079
|
class PointDefectSiteSchema(BaseModel):
|
|
1080
|
-
crystal:
|
|
1080
|
+
crystal: CrystalSchema72 = Field(..., title="Crystal Schema")
|
|
1081
1081
|
"""
|
|
1082
1082
|
A crystal structure, referencing the base material schema
|
|
1083
1083
|
"""
|
mat3ra/esse/models/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.py
CHANGED
|
@@ -131,13 +131,13 @@ class Value(Enum):
|
|
|
131
131
|
Og = "Og"
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
class
|
|
134
|
+
class Value171(Enum):
|
|
135
135
|
X = "X"
|
|
136
136
|
Vac = "Vac"
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
class AtomicElementSchema(BaseModel):
|
|
140
|
-
value: Union[Value,
|
|
140
|
+
value: Union[Value, Value171]
|
|
141
141
|
"""
|
|
142
142
|
All elements, including extra elements
|
|
143
143
|
"""
|
|
@@ -285,30 +285,30 @@ class VolumeSchema(BaseModel):
|
|
|
285
285
|
value: float
|
|
286
286
|
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Name705(Enum):
|
|
289
289
|
density = "density"
|
|
290
290
|
|
|
291
291
|
|
|
292
|
-
class
|
|
292
|
+
class Units287(Enum):
|
|
293
293
|
g_cm_3 = "g/cm^3"
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
class DensitySchema(BaseModel):
|
|
297
297
|
name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
|
|
298
|
-
units: Optional[
|
|
298
|
+
units: Optional[Units287] = None
|
|
299
299
|
value: float
|
|
300
300
|
|
|
301
301
|
|
|
302
|
-
class
|
|
302
|
+
class Units288(Enum):
|
|
303
303
|
angstrom = "angstrom"
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
class ScalarSchema(BaseModel):
|
|
307
|
-
units: Optional[
|
|
307
|
+
units: Optional[Units288] = None
|
|
308
308
|
value: float
|
|
309
309
|
|
|
310
310
|
|
|
311
|
-
class
|
|
311
|
+
class Name706(Enum):
|
|
312
312
|
symmetry = "symmetry"
|
|
313
313
|
|
|
314
314
|
|
|
@@ -328,7 +328,7 @@ class SymmetrySchema(BaseModel):
|
|
|
328
328
|
name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
|
|
329
329
|
|
|
330
330
|
|
|
331
|
-
class
|
|
331
|
+
class Name707(Enum):
|
|
332
332
|
elemental_ratio = "elemental_ratio"
|
|
333
333
|
|
|
334
334
|
|
|
@@ -341,7 +341,7 @@ class ElementalRatio(BaseModel):
|
|
|
341
341
|
"""
|
|
342
342
|
|
|
343
343
|
|
|
344
|
-
class
|
|
344
|
+
class Name708(Enum):
|
|
345
345
|
p_norm = "p-norm"
|
|
346
346
|
|
|
347
347
|
|
|
@@ -354,7 +354,7 @@ class PNorm(BaseModel):
|
|
|
354
354
|
value: float
|
|
355
355
|
|
|
356
356
|
|
|
357
|
-
class
|
|
357
|
+
class Name709(Enum):
|
|
358
358
|
inchi = "inchi"
|
|
359
359
|
|
|
360
360
|
|
|
@@ -363,7 +363,7 @@ class InChIRepresentationSchema(BaseModel):
|
|
|
363
363
|
value: str
|
|
364
364
|
|
|
365
365
|
|
|
366
|
-
class
|
|
366
|
+
class Name710(Enum):
|
|
367
367
|
inchi_key = "inchi_key"
|
|
368
368
|
|
|
369
369
|
|
|
@@ -442,7 +442,7 @@ class FileSourceSchema(BaseModel):
|
|
|
442
442
|
"""
|
|
443
443
|
|
|
444
444
|
|
|
445
|
-
class
|
|
445
|
+
class Name711(Enum):
|
|
446
446
|
default = "default"
|
|
447
447
|
atomsTooClose = "atomsTooClose"
|
|
448
448
|
atomsOverlap = "atomsOverlap"
|
|
@@ -455,7 +455,7 @@ class Severity(Enum):
|
|
|
455
455
|
|
|
456
456
|
|
|
457
457
|
class MaterialConsistencyCheckSchema(BaseModel):
|
|
458
|
-
name:
|
|
458
|
+
name: Name711
|
|
459
459
|
"""
|
|
460
460
|
Name of the consistency check that is performed, which is listed in an enum.
|
|
461
461
|
"""
|
mat3ra/esse/models/materials_category/pristine_structures/three_dimensional/ideal_crystal.py
CHANGED
|
@@ -131,13 +131,13 @@ class Value(Enum):
|
|
|
131
131
|
Og = "Og"
|
|
132
132
|
|
|
133
133
|
|
|
134
|
-
class
|
|
134
|
+
class Value120(Enum):
|
|
135
135
|
X = "X"
|
|
136
136
|
Vac = "Vac"
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
class AtomicElementSchema(BaseModel):
|
|
140
|
-
value: Union[Value,
|
|
140
|
+
value: Union[Value, Value120]
|
|
141
141
|
"""
|
|
142
142
|
All elements, including extra elements
|
|
143
143
|
"""
|
|
@@ -285,30 +285,30 @@ class VolumeSchema(BaseModel):
|
|
|
285
285
|
value: float
|
|
286
286
|
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Name478(Enum):
|
|
289
289
|
density = "density"
|
|
290
290
|
|
|
291
291
|
|
|
292
|
-
class
|
|
292
|
+
class Units195(Enum):
|
|
293
293
|
g_cm_3 = "g/cm^3"
|
|
294
294
|
|
|
295
295
|
|
|
296
296
|
class DensitySchema(BaseModel):
|
|
297
297
|
name: Literal["1#-datamodel-code-generator-#-object-#-special-#"]
|
|
298
|
-
units: Optional[
|
|
298
|
+
units: Optional[Units195] = None
|
|
299
299
|
value: float
|
|
300
300
|
|
|
301
301
|
|
|
302
|
-
class
|
|
302
|
+
class Units196(Enum):
|
|
303
303
|
angstrom = "angstrom"
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
class ScalarSchema(BaseModel):
|
|
307
|
-
units: Optional[
|
|
307
|
+
units: Optional[Units196] = None
|
|
308
308
|
value: float
|
|
309
309
|
|
|
310
310
|
|
|
311
|
-
class
|
|
311
|
+
class Name479(Enum):
|
|
312
312
|
symmetry = "symmetry"
|
|
313
313
|
|
|
314
314
|
|
|
@@ -328,7 +328,7 @@ class SymmetrySchema(BaseModel):
|
|
|
328
328
|
name: Literal["2#-datamodel-code-generator-#-object-#-special-#"]
|
|
329
329
|
|
|
330
330
|
|
|
331
|
-
class
|
|
331
|
+
class Name480(Enum):
|
|
332
332
|
elemental_ratio = "elemental_ratio"
|
|
333
333
|
|
|
334
334
|
|
|
@@ -341,7 +341,7 @@ class ElementalRatio(BaseModel):
|
|
|
341
341
|
"""
|
|
342
342
|
|
|
343
343
|
|
|
344
|
-
class
|
|
344
|
+
class Name481(Enum):
|
|
345
345
|
p_norm = "p-norm"
|
|
346
346
|
|
|
347
347
|
|
|
@@ -354,7 +354,7 @@ class PNorm(BaseModel):
|
|
|
354
354
|
value: float
|
|
355
355
|
|
|
356
356
|
|
|
357
|
-
class
|
|
357
|
+
class Name482(Enum):
|
|
358
358
|
inchi = "inchi"
|
|
359
359
|
|
|
360
360
|
|
|
@@ -363,7 +363,7 @@ class InChIRepresentationSchema(BaseModel):
|
|
|
363
363
|
value: str
|
|
364
364
|
|
|
365
365
|
|
|
366
|
-
class
|
|
366
|
+
class Name483(Enum):
|
|
367
367
|
inchi_key = "inchi_key"
|
|
368
368
|
|
|
369
369
|
|
|
@@ -442,7 +442,7 @@ class FileSourceSchema(BaseModel):
|
|
|
442
442
|
"""
|
|
443
443
|
|
|
444
444
|
|
|
445
|
-
class
|
|
445
|
+
class Name484(Enum):
|
|
446
446
|
default = "default"
|
|
447
447
|
atomsTooClose = "atomsTooClose"
|
|
448
448
|
atomsOverlap = "atomsOverlap"
|
|
@@ -455,7 +455,7 @@ class Severity(Enum):
|
|
|
455
455
|
|
|
456
456
|
|
|
457
457
|
class MaterialConsistencyCheckSchema(BaseModel):
|
|
458
|
-
name:
|
|
458
|
+
name: Name484
|
|
459
459
|
"""
|
|
460
460
|
Name of the consistency check that is performed, which is listed in an enum.
|
|
461
461
|
"""
|