mat3ra-esse 2024.4.8.post0__py3-none-any.whl → 2024.4.8.post2__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/models/__init__.py +3 -0
- mat3ra/esse/models/core/__init__.py +3 -0
- mat3ra/esse/models/core/abstract/2d_data.py +17 -0
- mat3ra/esse/models/core/abstract/2d_plot.py +34 -0
- mat3ra/esse/models/core/abstract/3d_grid.py +14 -0
- mat3ra/esse/models/core/abstract/3d_tensor.py +19 -0
- mat3ra/esse/models/core/abstract/3d_vector_basis.py +15 -0
- mat3ra/esse/models/core/abstract/__init__.py +3 -0
- mat3ra/esse/models/core/abstract/point.py +13 -0
- mat3ra/esse/models/core/abstract/vector.py +13 -0
- mat3ra/esse/models/core/primitive/1d_data_series.py +13 -0
- mat3ra/esse/models/core/primitive/3d_lattice.py +34 -0
- mat3ra/esse/models/core/primitive/__init__.py +3 -0
- mat3ra/esse/models/core/primitive/array_of_3_booleans.py +13 -0
- mat3ra/esse/models/core/primitive/array_of_3_numbers.py +13 -0
- mat3ra/esse/models/core/primitive/array_of_ids.py +23 -0
- mat3ra/esse/models/core/primitive/array_of_strings.py +16 -0
- mat3ra/esse/models/core/primitive/axis.py +20 -0
- mat3ra/esse/models/core/primitive/group_info.py +20 -0
- mat3ra/esse/models/core/primitive/integer_one_or_zero.py +11 -0
- mat3ra/esse/models/core/primitive/linked_list/__init__.py +33 -0
- mat3ra/esse/models/core/primitive/linked_list/base_node.py +31 -0
- mat3ra/esse/models/core/primitive/linked_list/named_node.py +35 -0
- mat3ra/esse/models/core/primitive/linked_list/named_node_in_group.py +43 -0
- mat3ra/esse/models/core/primitive/linked_list/node_with_type.py +32 -0
- mat3ra/esse/models/core/primitive/scalar.py +11 -0
- mat3ra/esse/models/core/primitive/slugified_entry.py +18 -0
- mat3ra/esse/models/core/primitive/slugified_entry_or_slug.py +27 -0
- mat3ra/esse/models/core/primitive/string.py +11 -0
- mat3ra/esse/models/core/reference/__init__.py +260 -0
- mat3ra/esse/models/core/reference/exabyte.py +24 -0
- mat3ra/esse/models/core/reference/experiment/__init__.py +150 -0
- mat3ra/esse/models/core/reference/experiment/condition.py +28 -0
- mat3ra/esse/models/core/reference/experiment/location.py +18 -0
- mat3ra/esse/models/core/reference/literature/__init__.py +86 -0
- mat3ra/esse/models/core/reference/literature/name.py +16 -0
- mat3ra/esse/models/core/reference/literature/pages.py +14 -0
- mat3ra/esse/models/core/reference/modeling/__init__.py +49 -0
- mat3ra/esse/models/core/reference/modeling/exabyte.py +42 -0
- mat3ra/esse/models/core/reusable/__init__.py +3 -0
- mat3ra/esse/models/core/reusable/atomic_data/__init__.py +3 -0
- mat3ra/esse/models/core/reusable/atomic_data/per_orbital.py +21 -0
- mat3ra/esse/models/core/reusable/atomic_data/per_orbital_pair.py +34 -0
- mat3ra/esse/models/core/reusable/atomic_data/value_number.py +16 -0
- mat3ra/esse/models/core/reusable/atomic_data/value_string.py +16 -0
- mat3ra/esse/models/core/reusable/atomic_data_per_orbital_numeric.py +25 -0
- mat3ra/esse/models/core/reusable/atomic_data_per_orbital_pair_numeric.py +38 -0
- mat3ra/esse/models/core/reusable/atomic_orbital.py +20 -0
- mat3ra/esse/models/core/reusable/atomic_scalars.py +28 -0
- mat3ra/esse/models/core/reusable/atomic_strings.py +24 -0
- mat3ra/esse/models/core/reusable/atomic_vectors.py +24 -0
- mat3ra/esse/models/core/reusable/band_gap.py +42 -0
- mat3ra/esse/models/core/reusable/categories.py +43 -0
- mat3ra/esse/models/core/reusable/category_path.py +14 -0
- mat3ra/esse/models/core/reusable/dielectric_tensor_component.py +31 -0
- mat3ra/esse/models/core/reusable/energy.py +30 -0
- mat3ra/esse/models/core/reusable/file_metadata.py +24 -0
- mat3ra/esse/models/core/reusable/frequency_function_matrix.py +20 -0
- mat3ra/esse/models/core/reusable/object_storage_container_data.py +36 -0
- mat3ra/esse/models/definitions/__init__.py +3 -0
- mat3ra/esse/models/definitions/units.py +13 -0
- mat3ra/esse/models/element.py +74 -0
- mat3ra/esse/models/in_memory_entity/__init__.py +3 -0
- mat3ra/esse/models/in_memory_entity/base.py +58 -0
- mat3ra/esse/models/in_memory_entity/defaultable.py +62 -0
- mat3ra/esse/models/in_memory_entity/named.py +62 -0
- mat3ra/esse/models/in_memory_entity/named_defaultable.py +66 -0
- mat3ra/esse/models/in_memory_entity/named_defaultable_has_metadata.py +67 -0
- mat3ra/esse/models/in_memory_entity/named_defaultable_runtime_items.py +89 -0
- mat3ra/esse/models/job/__init__.py +3006 -0
- mat3ra/esse/models/job/base.py +287 -0
- mat3ra/esse/models/job/compute.py +161 -0
- mat3ra/esse/models/material/__init__.py +420 -0
- mat3ra/esse/models/material/conventional.py +13 -0
- mat3ra/esse/models/method/__init__.py +28 -0
- mat3ra/esse/models/method/categorized_method.py +86 -0
- mat3ra/esse/models/method/method_parameters.py +48 -0
- mat3ra/esse/models/method/unit_method.py +70 -0
- mat3ra/esse/models/methods_category/mathematical/__init__.py +3 -0
- mat3ra/esse/models/methods_category/mathematical/diff/__init__.py +48 -0
- mat3ra/esse/models/methods_category/mathematical/diff/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/diff/fd.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/discr/__init__.py +48 -0
- mat3ra/esse/models/methods_category/mathematical/discr/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/discr/mesh/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/discr/mesh/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/discr/mesh/hybrid.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/discr/mesh/nstruct.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/discr/mesh/struct/__init__.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/discr/mesh/struct/cartesian.py +60 -0
- mat3ra/esse/models/methods_category/mathematical/discr/mesh/struct/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/fapprx/__init__.py +48 -0
- mat3ra/esse/models/methods_category/mathematical/fapprx/basisexp.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/fapprx/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/fapprx/ipol/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/fapprx/ipol/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/fapprx/ipol/lin.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/fapprx/ipol/poly.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/fapprx/ipol/spline.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/__init__.py +48 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/analytic/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/analytic/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/analytic/volume.py +67 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/diffeq/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/diffeq/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/diffeq/order1.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/diffeq/order2.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/numquad/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/numquad/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/numquad/gauss.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/numquad/newcot.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/transf/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/transf/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/intgr/transf/fourier.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/linalg/__init__.py +48 -0
- mat3ra/esse/models/methods_category/mathematical/linalg/dcomp.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/linalg/diag/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/linalg/diag/davidson.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/linalg/diag/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/linalg/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/linalg/lintra.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/linalg/matf.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/opt/__init__.py +48 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/bracket.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/local.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/order1.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/order2.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/ordern/__init__.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/ordern/cg.py +60 -0
- mat3ra/esse/models/methods_category/mathematical/opt/diff/ordern/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/opt/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/opt/ndiff/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/opt/ndiff/direct.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/ndiff/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/opt/ndiff/pop.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/ndiff/stoch.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/root/__init__.py +52 -0
- mat3ra/esse/models/methods_category/mathematical/opt/root/bracket.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/opt/root/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/mathematical/opt/root/iter.py +56 -0
- mat3ra/esse/models/methods_category/mathematical/regression.py +54 -0
- mat3ra/esse/models/methods_category/physical/__init__.py +3 -0
- mat3ra/esse/models/methods_category/physical/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/physical/qm/__init__.py +48 -0
- mat3ra/esse/models/methods_category/physical/qm/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/__init__.py +52 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/ao/__init__.py +62 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/ao/dunning.py +60 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/ao/other.py +60 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/ao/pople.py +60 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/enum_options.py +13 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/psp.py +63 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/pw.py +56 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/smearing.py +63 -0
- mat3ra/esse/models/methods_category/physical/qm/wf/tetrahedron.py +62 -0
- mat3ra/esse/models/methods_directory/legacy/__init__.py +3 -0
- mat3ra/esse/models/methods_directory/legacy/localorbital.py +37 -0
- mat3ra/esse/models/methods_directory/legacy/pseudopotential.py +40 -0
- mat3ra/esse/models/methods_directory/legacy/regression.py +118 -0
- mat3ra/esse/models/methods_directory/legacy/unknown.py +37 -0
- mat3ra/esse/models/methods_directory/mathematical/__init__.py +3 -0
- mat3ra/esse/models/methods_directory/mathematical/cg.py +87 -0
- mat3ra/esse/models/methods_directory/mathematical/davidson.py +83 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/__init__.py +161 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/data.py +69 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/dataset.py +20 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/kernel_ridge/__init__.py +3 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/kernel_ridge/data_per_property.py +39 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/linear/__init__.py +3 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/linear/data_per_property.py +35 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/per_feature_item.py +24 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/precision.py +28 -0
- mat3ra/esse/models/methods_directory/mathematical/regression/precision_per_property.py +24 -0
- mat3ra/esse/models/methods_directory/physical/__init__.py +3 -0
- mat3ra/esse/models/methods_directory/physical/ao/__init__.py +3 -0
- mat3ra/esse/models/methods_directory/physical/ao/dunning.py +103 -0
- mat3ra/esse/models/methods_directory/physical/ao/enum_options.py +13 -0
- mat3ra/esse/models/methods_directory/physical/ao/other.py +107 -0
- mat3ra/esse/models/methods_directory/physical/ao/pople.py +101 -0
- mat3ra/esse/models/methods_directory/physical/psp/__init__.py +187 -0
- mat3ra/esse/models/methods_directory/physical/psp/file.py +106 -0
- mat3ra/esse/models/methods_directory/physical/psp/file_data_item.py +88 -0
- mat3ra/esse/models/methods_directory/physical/pw.py +83 -0
- mat3ra/esse/models/methods_directory/physical/smearing.py +90 -0
- mat3ra/esse/models/methods_directory/physical/tetrahedron.py +91 -0
- mat3ra/esse/models/model/__init__.py +43 -0
- mat3ra/esse/models/model/categorized_model.py +211 -0
- mat3ra/esse/models/model/mixins/__init__.py +3 -0
- mat3ra/esse/models/model/mixins/dft/__init__.py +5 -0
- mat3ra/esse/models/model/mixins/dft/double_hybrid_functional.py +18 -0
- mat3ra/esse/models/model/mixins/dft/enum_options.py +13 -0
- mat3ra/esse/models/model/mixins/dft/gga_functional.py +22 -0
- mat3ra/esse/models/model/mixins/dft/hybrid_functional.py +19 -0
- mat3ra/esse/models/model/mixins/dft/lda_functional.py +21 -0
- mat3ra/esse/models/model/mixins/dft/mgga_functional.py +21 -0
- mat3ra/esse/models/model/mixins/dispersion_correction.py +21 -0
- mat3ra/esse/models/model/mixins/enum_options.py +13 -0
- mat3ra/esse/models/model/mixins/hubbard.py +18 -0
- mat3ra/esse/models/model/mixins/spin_orbit_coupling.py +16 -0
- mat3ra/esse/models/model/mixins/spin_polarization.py +22 -0
- mat3ra/esse/models/model/model_parameters.py +123 -0
- mat3ra/esse/models/model/model_without_method.py +144 -0
- mat3ra/esse/models/models_category/__init__.py +3 -0
- mat3ra/esse/models/models_category/enum_options.py +13 -0
- mat3ra/esse/models/models_category/pb/__init__.py +48 -0
- mat3ra/esse/models/models_category/pb/enum_options.py +13 -0
- mat3ra/esse/models/models_category/pb/qm/__init__.py +52 -0
- mat3ra/esse/models/models_category/pb/qm/abin/__init__.py +56 -0
- mat3ra/esse/models/models_category/pb/qm/abin/enum_options.py +13 -0
- mat3ra/esse/models/models_category/pb/qm/abin/gw.py +66 -0
- mat3ra/esse/models/models_category/pb/qm/dft/__init__.py +56 -0
- mat3ra/esse/models/models_category/pb/qm/dft/enum_options.py +13 -0
- mat3ra/esse/models/models_category/pb/qm/dft/ksdft/__init__.py +60 -0
- mat3ra/esse/models/models_category/pb/qm/dft/ksdft/double_hybrid.py +64 -0
- mat3ra/esse/models/models_category/pb/qm/dft/ksdft/enum_options.py +13 -0
- mat3ra/esse/models/models_category/pb/qm/dft/ksdft/gga.py +64 -0
- mat3ra/esse/models/models_category/pb/qm/dft/ksdft/hybrid.py +64 -0
- mat3ra/esse/models/models_category/pb/qm/dft/ksdft/lda.py +64 -0
- mat3ra/esse/models/models_category/pb/qm/dft/ksdft/mgga.py +64 -0
- mat3ra/esse/models/models_category/pb/qm/enum_options.py +13 -0
- mat3ra/esse/models/models_category/pb/qm/semp.py +56 -0
- mat3ra/esse/models/models_category/st/__init__.py +48 -0
- mat3ra/esse/models/models_category/st/det/__init__.py +52 -0
- mat3ra/esse/models/models_category/st/det/enum_options.py +13 -0
- mat3ra/esse/models/models_category/st/det/ml/__init__.py +56 -0
- mat3ra/esse/models/models_category/st/det/ml/enum_options.py +13 -0
- mat3ra/esse/models/models_category/st/det/ml/re.py +60 -0
- mat3ra/esse/models/models_category/st/enum_options.py +13 -0
- mat3ra/esse/models/models_directory/__init__.py +3 -0
- mat3ra/esse/models/models_directory/double_hybrid.py +205 -0
- mat3ra/esse/models/models_directory/gga.py +219 -0
- mat3ra/esse/models/models_directory/gw.py +272 -0
- mat3ra/esse/models/models_directory/hybrid.py +213 -0
- mat3ra/esse/models/models_directory/lda.py +218 -0
- mat3ra/esse/models/models_directory/legacy/__init__.py +3 -0
- mat3ra/esse/models/models_directory/legacy/dft.py +170 -0
- mat3ra/esse/models/models_directory/legacy/ml.py +52 -0
- mat3ra/esse/models/models_directory/legacy/unknown.py +52 -0
- mat3ra/esse/models/models_directory/mgga.py +218 -0
- mat3ra/esse/models/models_directory/re.py +160 -0
- mat3ra/esse/models/project.py +82 -0
- mat3ra/esse/models/properties_directory/__init__.py +3 -0
- mat3ra/esse/models/properties_directory/derived_properties.py +140 -0
- mat3ra/esse/models/properties_directory/electronic_configuration.py +20 -0
- mat3ra/esse/models/properties_directory/elemental/__init__.py +3 -0
- mat3ra/esse/models/properties_directory/elemental/atomic_radius.py +34 -0
- mat3ra/esse/models/properties_directory/elemental/electronegativity.py +19 -0
- mat3ra/esse/models/properties_directory/elemental/ionization_potential.py +30 -0
- mat3ra/esse/models/properties_directory/non_scalar/__init__.py +3 -0
- mat3ra/esse/models/properties_directory/non_scalar/average_potential_profile.py +83 -0
- mat3ra/esse/models/properties_directory/non_scalar/band_gaps.py +64 -0
- mat3ra/esse/models/properties_directory/non_scalar/band_structure.py +92 -0
- mat3ra/esse/models/properties_directory/non_scalar/charge_density_profile.py +63 -0
- mat3ra/esse/models/properties_directory/non_scalar/density_of_states.py +97 -0
- mat3ra/esse/models/properties_directory/non_scalar/dielectric_tensor.py +40 -0
- mat3ra/esse/models/properties_directory/non_scalar/file_content.py +64 -0
- mat3ra/esse/models/properties_directory/non_scalar/hubbard_u.py +40 -0
- mat3ra/esse/models/properties_directory/non_scalar/hubbard_v.py +54 -0
- mat3ra/esse/models/properties_directory/non_scalar/hubbard_v_nn.py +54 -0
- mat3ra/esse/models/properties_directory/non_scalar/phonon_dispersions.py +79 -0
- mat3ra/esse/models/properties_directory/non_scalar/phonon_dos.py +71 -0
- mat3ra/esse/models/properties_directory/non_scalar/potential_profile.py +69 -0
- mat3ra/esse/models/properties_directory/non_scalar/reaction_energy_profile.py +69 -0
- mat3ra/esse/models/properties_directory/non_scalar/stress_tensor.py +31 -0
- mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +198 -0
- mat3ra/esse/models/properties_directory/non_scalar/vibrational_spectrum.py +75 -0
- mat3ra/esse/models/properties_directory/scalar/__init__.py +3 -0
- mat3ra/esse/models/properties_directory/scalar/electron_affinity.py +34 -0
- mat3ra/esse/models/properties_directory/scalar/fermi_energy.py +34 -0
- mat3ra/esse/models/properties_directory/scalar/formation_energy.py +34 -0
- mat3ra/esse/models/properties_directory/scalar/ionization_potential.py +34 -0
- mat3ra/esse/models/properties_directory/scalar/pressure.py +25 -0
- mat3ra/esse/models/properties_directory/scalar/reaction_energy_barrier.py +34 -0
- mat3ra/esse/models/properties_directory/scalar/surface_energy.py +34 -0
- mat3ra/esse/models/properties_directory/scalar/total_energy.py +34 -0
- mat3ra/esse/models/properties_directory/scalar/total_force.py +29 -0
- mat3ra/esse/models/properties_directory/scalar/valence_band_offset.py +34 -0
- mat3ra/esse/models/properties_directory/scalar/zero_point_energy.py +34 -0
- mat3ra/esse/models/properties_directory/structural/__init__.py +3 -0
- mat3ra/esse/models/properties_directory/structural/atomic_forces.py +40 -0
- mat3ra/esse/models/properties_directory/structural/basis/__init__.py +68 -0
- mat3ra/esse/models/properties_directory/structural/basis/atomic_constraints.py +30 -0
- mat3ra/esse/models/properties_directory/structural/basis/atomic_coordinate.py +14 -0
- mat3ra/esse/models/properties_directory/structural/basis/atomic_coordinates.py +39 -0
- mat3ra/esse/models/properties_directory/structural/basis/atomic_element.py +19 -0
- mat3ra/esse/models/properties_directory/structural/basis/bonds.py +40 -0
- mat3ra/esse/models/properties_directory/structural/density.py +24 -0
- mat3ra/esse/models/properties_directory/structural/elemental_ratio.py +23 -0
- mat3ra/esse/models/properties_directory/structural/inchi.py +19 -0
- mat3ra/esse/models/properties_directory/structural/inchi_key.py +19 -0
- mat3ra/esse/models/properties_directory/structural/lattice/__init__.py +102 -0
- mat3ra/esse/models/properties_directory/structural/lattice/lattice_bravais.py +71 -0
- mat3ra/esse/models/properties_directory/structural/lattice/lattice_vectors.py +35 -0
- mat3ra/esse/models/properties_directory/structural/lattice/type_enum.py +24 -0
- mat3ra/esse/models/properties_directory/structural/lattice/type_extended_enum.py +34 -0
- mat3ra/esse/models/properties_directory/structural/magnetic_moments.py +35 -0
- mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +70 -0
- mat3ra/esse/models/properties_directory/structural/p_norm.py +23 -0
- mat3ra/esse/models/properties_directory/structural/patterns/__init__.py +3 -0
- mat3ra/esse/models/properties_directory/structural/patterns/functional_group.py +37 -0
- mat3ra/esse/models/properties_directory/structural/patterns/ring.py +34 -0
- mat3ra/esse/models/properties_directory/structural/patterns/special_bond.py +33 -0
- mat3ra/esse/models/properties_directory/structural/symmetry.py +39 -0
- mat3ra/esse/models/properties_directory/structural/volume.py +24 -0
- mat3ra/esse/models/properties_directory/workflow/convergence/__init__.py +3 -0
- mat3ra/esse/models/properties_directory/workflow/convergence/electronic.py +26 -0
- mat3ra/esse/models/properties_directory/workflow/convergence/ionic.py +63 -0
- mat3ra/esse/models/properties_directory/workflow/convergence/kpoint.py +43 -0
- mat3ra/esse/models/property/__init__.py +3 -0
- mat3ra/esse/models/property/base/The_source_of_a_property/__init__.py +5 -0
- mat3ra/esse/models/property/base/The_source_of_a_property/field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.py +38 -0
- mat3ra/esse/models/property/base/__init__.py +232 -0
- mat3ra/esse/models/property/meta/The_source_of_a_property/__init__.py +5 -0
- mat3ra/esse/models/property/meta/The_source_of_a_property/field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.py +38 -0
- mat3ra/esse/models/property/meta/__init__.py +232 -0
- mat3ra/esse/models/property/raw/The_source_of_a_property/__init__.py +5 -0
- mat3ra/esse/models/property/raw/The_source_of_a_property/field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.py +38 -0
- mat3ra/esse/models/property/raw/__init__.py +232 -0
- mat3ra/esse/models/property/source/The_source_of_a_property/__init__.py +5 -0
- mat3ra/esse/models/property/source/The_source_of_a_property/field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.py +38 -0
- mat3ra/esse/models/property/source/__init__.py +150 -0
- mat3ra/esse/models/software/__init__.py +3 -0
- mat3ra/esse/models/software/application.py +93 -0
- mat3ra/esse/models/software/executable.py +97 -0
- mat3ra/esse/models/software/flavor.py +116 -0
- mat3ra/esse/models/software/template.py +77 -0
- mat3ra/esse/models/software_directory/ml/__init__.py +3 -0
- mat3ra/esse/models/software_directory/ml/exabyteml.py +28 -0
- mat3ra/esse/models/software_directory/ml/unit/__init__.py +3 -0
- mat3ra/esse/models/software_directory/ml/unit/execution/__init__.py +1348 -0
- mat3ra/esse/models/software_directory/ml/unit/execution/evaluate/__init__.py +5 -0
- mat3ra/esse/models/software_directory/ml/unit/execution/evaluate/cross_validate.py +381 -0
- mat3ra/esse/models/software_directory/ml/unit/execution/initialize.py +381 -0
- mat3ra/esse/models/software_directory/ml/unit/execution/score.py +374 -0
- mat3ra/esse/models/software_directory/ml/unit/execution/train.py +385 -0
- mat3ra/esse/models/software_directory/ml/unit/processing/__init__.py +328 -0
- mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/__init__.py +199 -0
- mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/manipulation.py +176 -0
- mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.py +195 -0
- mat3ra/esse/models/software_directory/ml/unit/processing/feature_selection/__init__.py +180 -0
- mat3ra/esse/models/software_directory/ml/unit/processing/feature_selection/filter_based.py +176 -0
- mat3ra/esse/models/software_directory/modeling/__init__.py +3 -0
- mat3ra/esse/models/software_directory/modeling/deepmd.py +112 -0
- mat3ra/esse/models/software_directory/modeling/espresso/__init__.py +39 -0
- mat3ra/esse/models/software_directory/modeling/espresso/arguments.py +35 -0
- mat3ra/esse/models/software_directory/modeling/nwchem.py +113 -0
- mat3ra/esse/models/software_directory/modeling/unit/__init__.py +3 -0
- mat3ra/esse/models/software_directory/modeling/unit/execution.py +390 -0
- mat3ra/esse/models/software_directory/modeling/vasp.py +117 -0
- mat3ra/esse/models/software_directory/scripting/__init__.py +3 -0
- mat3ra/esse/models/software_directory/scripting/jupyter_lab.py +115 -0
- mat3ra/esse/models/software_directory/scripting/python.py +129 -0
- mat3ra/esse/models/software_directory/scripting/shell.py +129 -0
- mat3ra/esse/models/software_directory/scripting/unit/__init__.py +3 -0
- mat3ra/esse/models/software_directory/scripting/unit/execution.py +390 -0
- mat3ra/esse/models/system/__init__.py +3 -0
- mat3ra/esse/models/system/_material.py +29 -0
- mat3ra/esse/models/system/_parent_job.py +29 -0
- mat3ra/esse/models/system/_project.py +29 -0
- mat3ra/esse/models/system/bankable.py +20 -0
- mat3ra/esse/models/system/consistency_check.py +40 -0
- mat3ra/esse/models/system/creator.py +29 -0
- mat3ra/esse/models/system/creator_account.py +28 -0
- mat3ra/esse/models/system/database_source.py +36 -0
- mat3ra/esse/models/system/defaultable.py +16 -0
- mat3ra/esse/models/system/description.py +17 -0
- mat3ra/esse/models/system/entity_reference.py +24 -0
- mat3ra/esse/models/system/file_source.py +28 -0
- mat3ra/esse/models/system/history.py +18 -0
- mat3ra/esse/models/system/iframe_message.py +36 -0
- mat3ra/esse/models/system/in_set.py +30 -0
- mat3ra/esse/models/system/is_multi_material.py +13 -0
- mat3ra/esse/models/system/is_outdated.py +13 -0
- mat3ra/esse/models/system/job_extended.py +36 -0
- mat3ra/esse/models/system/message.py +59 -0
- mat3ra/esse/models/system/metadata.py +13 -0
- mat3ra/esse/models/system/name.py +16 -0
- mat3ra/esse/models/system/owner.py +29 -0
- mat3ra/esse/models/system/path.py +16 -0
- mat3ra/esse/models/system/path_entity.py +20 -0
- mat3ra/esse/models/system/schema_version.py +16 -0
- mat3ra/esse/models/system/scope.py +13 -0
- mat3ra/esse/models/system/set.py +15 -0
- mat3ra/esse/models/system/sharing.py +13 -0
- mat3ra/esse/models/system/soft_removable.py +20 -0
- mat3ra/esse/models/system/status.py +20 -0
- mat3ra/esse/models/system/tags.py +16 -0
- mat3ra/esse/models/system/timestampable.py +22 -0
- mat3ra/esse/models/system/use_values.py +13 -0
- mat3ra/esse/models/third_party/db/nist_jarvis/2024.3.13/__init__.py +3 -0
- mat3ra/esse/models/third_party/db/nist_jarvis/2024.3.13/atoms.py +41 -0
- mat3ra/esse/models/third_party/db/nist_jarvis/2024.3.13/db_entry.py +55 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/__init__.py +3 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/__init__.py +1990 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/atomic_positions.py +51 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/atomic_species.py +34 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/cell.py +111 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/cell_parameters.py +36 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/control.py +169 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/electrons.py +139 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/hubbard.py +194 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/ions.py +422 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/k_points.py +73 -0
- mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/system.py +841 -0
- mat3ra/esse/models/workflow/__init__.py +2817 -0
- mat3ra/esse/models/workflow/base.py +79 -0
- mat3ra/esse/models/workflow/base_flow.py +180 -0
- mat3ra/esse/models/workflow/scope.py +14 -0
- mat3ra/esse/models/workflow/subworkflow/__init__.py +1472 -0
- mat3ra/esse/models/workflow/subworkflow/unit.py +1187 -0
- mat3ra/esse/models/workflow/unit/__init__.py +1415 -0
- mat3ra/esse/models/workflow/unit/assertion.py +149 -0
- mat3ra/esse/models/workflow/unit/assignment.py +165 -0
- mat3ra/esse/models/workflow/unit/base.py +137 -0
- mat3ra/esse/models/workflow/unit/condition.py +176 -0
- mat3ra/esse/models/workflow/unit/execution.py +374 -0
- mat3ra/esse/models/workflow/unit/input/__init__.py +3 -0
- mat3ra/esse/models/workflow/unit/input/_input.py +43 -0
- mat3ra/esse/models/workflow/unit/input/_inputItem.py +18 -0
- mat3ra/esse/models/workflow/unit/input/_inputItemId.py +21 -0
- mat3ra/esse/models/workflow/unit/input/_inputItemScope.py +18 -0
- mat3ra/esse/models/workflow/unit/input/_map_input/__init__.py +17 -0
- mat3ra/esse/models/workflow/unit/input/_map_input/values.py +13 -0
- mat3ra/esse/models/workflow/unit/io/__init__.py +254 -0
- mat3ra/esse/models/workflow/unit/io/api.py +27 -0
- mat3ra/esse/models/workflow/unit/io/db.py +39 -0
- mat3ra/esse/models/workflow/unit/io/object_storage.py +59 -0
- mat3ra/esse/models/workflow/unit/map.py +169 -0
- mat3ra/esse/models/workflow/unit/processing.py +153 -0
- mat3ra/esse/models/workflow/unit/reduce.py +160 -0
- mat3ra/esse/models/workflow/unit/runtime/__init__.py +3 -0
- mat3ra/esse/models/workflow/unit/runtime/_runtime_item_full_object.py +14 -0
- mat3ra/esse/models/workflow/unit/runtime/_runtime_item_name_object.py +14 -0
- mat3ra/esse/models/workflow/unit/runtime/_runtime_item_string.py +14 -0
- mat3ra/esse/models/workflow/unit/runtime/runtime_item.py +20 -0
- mat3ra/esse/models/workflow/unit/runtime/runtime_items.py +35 -0
- mat3ra/esse/models/workflow/unit/subworkflow.py +141 -0
- {mat3ra_esse-2024.4.8.post0.dist-info → mat3ra_esse-2024.4.8.post2.dist-info}/METADATA +1 -1
- mat3ra_esse-2024.4.8.post2.dist-info/RECORD +453 -0
- mat3ra_esse-2024.4.8.post0.dist-info/RECORD +0 -12
- {mat3ra_esse-2024.4.8.post0.dist-info → mat3ra_esse-2024.4.8.post2.dist-info}/LICENSE.md +0 -0
- {mat3ra_esse-2024.4.8.post0.dist-info → mat3ra_esse-2024.4.8.post2.dist-info}/WHEEL +0 -0
- {mat3ra_esse-2024.4.8.post0.dist-info → mat3ra_esse-2024.4.8.post2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: workflow/unit/execution.json
|
|
3
|
+
# version: 0.25.5
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from enum import Enum
|
|
8
|
+
from typing import Any, Dict, List, Optional, Union
|
|
9
|
+
|
|
10
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class Type(Enum):
|
|
14
|
+
execution = "execution"
|
|
15
|
+
|
|
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
|
+
class ApplicationSchemaBase(BaseModel):
|
|
49
|
+
model_config = ConfigDict(
|
|
50
|
+
extra="allow",
|
|
51
|
+
)
|
|
52
|
+
shortName: Optional[str] = None
|
|
53
|
+
"""
|
|
54
|
+
The short name of the application. e.g. qe
|
|
55
|
+
"""
|
|
56
|
+
summary: Optional[str] = None
|
|
57
|
+
"""
|
|
58
|
+
Application's short description.
|
|
59
|
+
"""
|
|
60
|
+
version: Optional[str] = None
|
|
61
|
+
"""
|
|
62
|
+
Application version. e.g. 5.3.5
|
|
63
|
+
"""
|
|
64
|
+
build: Optional[str] = None
|
|
65
|
+
"""
|
|
66
|
+
Application build. e.g. VTST
|
|
67
|
+
"""
|
|
68
|
+
hasAdvancedComputeOptions: Optional[bool] = None
|
|
69
|
+
"""
|
|
70
|
+
Whether advanced compute options are present
|
|
71
|
+
"""
|
|
72
|
+
isLicensed: Optional[bool] = None
|
|
73
|
+
"""
|
|
74
|
+
Whether licensing is present
|
|
75
|
+
"""
|
|
76
|
+
field_id: Optional[str] = Field(None, alias="_id")
|
|
77
|
+
"""
|
|
78
|
+
entity identity
|
|
79
|
+
"""
|
|
80
|
+
slug: Optional[str] = None
|
|
81
|
+
"""
|
|
82
|
+
entity slug
|
|
83
|
+
"""
|
|
84
|
+
systemName: Optional[str] = None
|
|
85
|
+
consistencyChecks: Optional[List[ConsistencyCheck]] = None
|
|
86
|
+
schemaVersion: Optional[str] = "2022.8.16"
|
|
87
|
+
"""
|
|
88
|
+
entity's schema version. Used to distinct between different schemas.
|
|
89
|
+
"""
|
|
90
|
+
name: Optional[str] = None
|
|
91
|
+
"""
|
|
92
|
+
entity name
|
|
93
|
+
"""
|
|
94
|
+
isDefault: Optional[bool] = False
|
|
95
|
+
"""
|
|
96
|
+
Identifies that entity is defaultable
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
class ConsistencyCheck19(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
|
+
class NameResultSchema(BaseModel):
|
|
120
|
+
name: str
|
|
121
|
+
"""
|
|
122
|
+
The name of this item. e.g. scf_accuracy
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
class ExecutableSchema(BaseModel):
|
|
127
|
+
name: str
|
|
128
|
+
"""
|
|
129
|
+
The name of the executable. e.g. pw.x
|
|
130
|
+
"""
|
|
131
|
+
applicationId: Optional[List[str]] = None
|
|
132
|
+
"""
|
|
133
|
+
_ids of the application this executable belongs to
|
|
134
|
+
"""
|
|
135
|
+
hasAdvancedComputeOptions: Optional[bool] = None
|
|
136
|
+
"""
|
|
137
|
+
Whether advanced compute options are present
|
|
138
|
+
"""
|
|
139
|
+
field_id: Optional[str] = Field(None, alias="_id")
|
|
140
|
+
"""
|
|
141
|
+
entity identity
|
|
142
|
+
"""
|
|
143
|
+
slug: Optional[str] = None
|
|
144
|
+
"""
|
|
145
|
+
entity slug
|
|
146
|
+
"""
|
|
147
|
+
systemName: Optional[str] = None
|
|
148
|
+
consistencyChecks: Optional[List[ConsistencyCheck19]] = None
|
|
149
|
+
schemaVersion: Optional[str] = "2022.8.16"
|
|
150
|
+
"""
|
|
151
|
+
entity's schema version. Used to distinct between different schemas.
|
|
152
|
+
"""
|
|
153
|
+
isDefault: Optional[bool] = False
|
|
154
|
+
"""
|
|
155
|
+
Identifies that entity is defaultable
|
|
156
|
+
"""
|
|
157
|
+
preProcessors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
158
|
+
"""
|
|
159
|
+
names of the pre-processors for this calculation
|
|
160
|
+
"""
|
|
161
|
+
postProcessors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
162
|
+
"""
|
|
163
|
+
names of the post-processors for this calculation
|
|
164
|
+
"""
|
|
165
|
+
monitors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
166
|
+
"""
|
|
167
|
+
names of the monitors for this calculation
|
|
168
|
+
"""
|
|
169
|
+
results: Optional[List[Union[NameResultSchema, str]]] = None
|
|
170
|
+
"""
|
|
171
|
+
names of the results for this calculation
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
class ExecutionUnitInputIdItemSchemaForPhysicsBasedSimulationEngines(BaseModel):
|
|
176
|
+
model_config = ConfigDict(
|
|
177
|
+
extra="forbid",
|
|
178
|
+
)
|
|
179
|
+
templateId: Optional[str] = None
|
|
180
|
+
templateName: Optional[str] = None
|
|
181
|
+
name: Optional[str] = None
|
|
182
|
+
"""
|
|
183
|
+
name of the resulting input file, if different than template name
|
|
184
|
+
"""
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class ConsistencyCheck20(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
|
+
class FlavorSchema(BaseModel):
|
|
207
|
+
executableId: Optional[str] = None
|
|
208
|
+
"""
|
|
209
|
+
_id of the executable this flavor belongs to
|
|
210
|
+
"""
|
|
211
|
+
executableName: Optional[str] = None
|
|
212
|
+
"""
|
|
213
|
+
name of the executable this flavor belongs to
|
|
214
|
+
"""
|
|
215
|
+
applicationName: Optional[str] = None
|
|
216
|
+
"""
|
|
217
|
+
name of the application this flavor belongs to
|
|
218
|
+
"""
|
|
219
|
+
input: Optional[List[ExecutionUnitInputIdItemSchemaForPhysicsBasedSimulationEngines]] = Field(
|
|
220
|
+
None, title="execution unit input schema"
|
|
221
|
+
)
|
|
222
|
+
field_id: Optional[str] = Field(None, alias="_id")
|
|
223
|
+
"""
|
|
224
|
+
entity identity
|
|
225
|
+
"""
|
|
226
|
+
slug: Optional[str] = None
|
|
227
|
+
"""
|
|
228
|
+
entity slug
|
|
229
|
+
"""
|
|
230
|
+
systemName: Optional[str] = None
|
|
231
|
+
consistencyChecks: Optional[List[ConsistencyCheck20]] = None
|
|
232
|
+
schemaVersion: Optional[str] = "2022.8.16"
|
|
233
|
+
"""
|
|
234
|
+
entity's schema version. Used to distinct between different schemas.
|
|
235
|
+
"""
|
|
236
|
+
name: Optional[str] = None
|
|
237
|
+
"""
|
|
238
|
+
entity name
|
|
239
|
+
"""
|
|
240
|
+
isDefault: Optional[bool] = False
|
|
241
|
+
"""
|
|
242
|
+
Identifies that entity is defaultable
|
|
243
|
+
"""
|
|
244
|
+
preProcessors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
245
|
+
"""
|
|
246
|
+
names of the pre-processors for this calculation
|
|
247
|
+
"""
|
|
248
|
+
postProcessors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
249
|
+
"""
|
|
250
|
+
names of the post-processors for this calculation
|
|
251
|
+
"""
|
|
252
|
+
monitors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
253
|
+
"""
|
|
254
|
+
names of the monitors for this calculation
|
|
255
|
+
"""
|
|
256
|
+
results: Optional[List[Union[NameResultSchema, str]]] = None
|
|
257
|
+
"""
|
|
258
|
+
names of the results for this calculation
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
class Status(Enum):
|
|
263
|
+
idle = "idle"
|
|
264
|
+
active = "active"
|
|
265
|
+
warning = "warning"
|
|
266
|
+
error = "error"
|
|
267
|
+
finished = "finished"
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
class ConsistencyCheck21(BaseModel):
|
|
271
|
+
key: str
|
|
272
|
+
"""
|
|
273
|
+
Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
|
|
274
|
+
"""
|
|
275
|
+
name: Name
|
|
276
|
+
"""
|
|
277
|
+
Name of the consistency check that is performed, which is listed in an enum.
|
|
278
|
+
"""
|
|
279
|
+
severity: Severity
|
|
280
|
+
"""
|
|
281
|
+
Severity level of the problem, which is used in UI to differentiate.
|
|
282
|
+
"""
|
|
283
|
+
message: str
|
|
284
|
+
"""
|
|
285
|
+
Message generated by the consistency check describing the problem.
|
|
286
|
+
"""
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
class StatusTrackItem(BaseModel):
|
|
290
|
+
trackedAt: float
|
|
291
|
+
status: str
|
|
292
|
+
repetition: Optional[float] = None
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
class ExecutionUnitSchemaBase(BaseModel):
|
|
296
|
+
model_config = ConfigDict(
|
|
297
|
+
extra="allow",
|
|
298
|
+
)
|
|
299
|
+
type: Type
|
|
300
|
+
"""
|
|
301
|
+
type of the unit
|
|
302
|
+
"""
|
|
303
|
+
application: ApplicationSchemaBase = Field(..., title="application schema (base)")
|
|
304
|
+
executable: Optional[ExecutableSchema] = Field(None, title="executable schema")
|
|
305
|
+
flavor: Optional[FlavorSchema] = Field(None, title="flavor schema")
|
|
306
|
+
input: Any
|
|
307
|
+
"""
|
|
308
|
+
unit input (type to be specified by the application's execution unit)
|
|
309
|
+
"""
|
|
310
|
+
field_id: Optional[str] = Field(None, alias="_id")
|
|
311
|
+
"""
|
|
312
|
+
entity identity
|
|
313
|
+
"""
|
|
314
|
+
isDraft: Optional[bool] = None
|
|
315
|
+
name: Optional[str] = None
|
|
316
|
+
"""
|
|
317
|
+
name of the unit. e.g. pw_scf
|
|
318
|
+
"""
|
|
319
|
+
status: Optional[Status] = None
|
|
320
|
+
"""
|
|
321
|
+
Status of the unit.
|
|
322
|
+
"""
|
|
323
|
+
head: Optional[bool] = None
|
|
324
|
+
"""
|
|
325
|
+
Whether this unit is the first one to be executed.
|
|
326
|
+
"""
|
|
327
|
+
flowchartId: str
|
|
328
|
+
"""
|
|
329
|
+
Identity of the unit in the workflow. Used to trace the execution flow of the workflow.
|
|
330
|
+
"""
|
|
331
|
+
next: Optional[str] = None
|
|
332
|
+
"""
|
|
333
|
+
Next unit's flowchartId. If empty, the current unit is the last.
|
|
334
|
+
"""
|
|
335
|
+
enableRender: Optional[bool] = None
|
|
336
|
+
"""
|
|
337
|
+
Whether Rupy should attempt to use Jinja templating to add context variables into the unit
|
|
338
|
+
"""
|
|
339
|
+
context: Optional[Dict[str, Any]] = None
|
|
340
|
+
slug: Optional[str] = None
|
|
341
|
+
"""
|
|
342
|
+
entity slug
|
|
343
|
+
"""
|
|
344
|
+
systemName: Optional[str] = None
|
|
345
|
+
consistencyChecks: Optional[List[ConsistencyCheck21]] = None
|
|
346
|
+
schemaVersion: Optional[str] = "2022.8.16"
|
|
347
|
+
"""
|
|
348
|
+
entity's schema version. Used to distinct between different schemas.
|
|
349
|
+
"""
|
|
350
|
+
isDefault: Optional[bool] = False
|
|
351
|
+
"""
|
|
352
|
+
Identifies that entity is defaultable
|
|
353
|
+
"""
|
|
354
|
+
preProcessors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
355
|
+
"""
|
|
356
|
+
names of the pre-processors for this calculation
|
|
357
|
+
"""
|
|
358
|
+
postProcessors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
359
|
+
"""
|
|
360
|
+
names of the post-processors for this calculation
|
|
361
|
+
"""
|
|
362
|
+
monitors: Optional[List[Union[NameResultSchema, str]]] = None
|
|
363
|
+
"""
|
|
364
|
+
names of the monitors for this calculation
|
|
365
|
+
"""
|
|
366
|
+
results: Optional[List[Union[NameResultSchema, str]]] = None
|
|
367
|
+
"""
|
|
368
|
+
names of the results for this calculation
|
|
369
|
+
"""
|
|
370
|
+
tags: Optional[List[str]] = None
|
|
371
|
+
"""
|
|
372
|
+
entity tags
|
|
373
|
+
"""
|
|
374
|
+
statusTrack: Optional[List[StatusTrackItem]] = None
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: workflow/unit/input/_input.json
|
|
3
|
+
# version: 0.25.5
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from typing import List, Optional, Union
|
|
8
|
+
|
|
9
|
+
from pydantic import BaseModel, ConfigDict, Field
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ExecutionUnitInputItemSchemaForPhysicsBasedSimulationEngines(BaseModel):
|
|
13
|
+
name: str
|
|
14
|
+
"""
|
|
15
|
+
Input file name. e.g. pw_scf.in
|
|
16
|
+
"""
|
|
17
|
+
content: str
|
|
18
|
+
"""
|
|
19
|
+
Content of the input file. e.g. &CONTROL calculation='scf' ...
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class ExecutionUnitInputIdItemSchemaForPhysicsBasedSimulationEngines(BaseModel):
|
|
24
|
+
model_config = ConfigDict(
|
|
25
|
+
extra="forbid",
|
|
26
|
+
)
|
|
27
|
+
templateId: Optional[str] = None
|
|
28
|
+
templateName: Optional[str] = None
|
|
29
|
+
name: Optional[str] = None
|
|
30
|
+
"""
|
|
31
|
+
name of the resulting input file, if different than template name
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class ExecutionUnitInputSchemaForPhysicsBasedSimulationEngines(BaseModel):
|
|
36
|
+
input: Optional[
|
|
37
|
+
List[
|
|
38
|
+
Union[
|
|
39
|
+
ExecutionUnitInputItemSchemaForPhysicsBasedSimulationEngines,
|
|
40
|
+
ExecutionUnitInputIdItemSchemaForPhysicsBasedSimulationEngines,
|
|
41
|
+
]
|
|
42
|
+
]
|
|
43
|
+
] = Field(None, title="execution unit input schema")
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: workflow/unit/input/_inputItem.json
|
|
3
|
+
# version: 0.25.5
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from pydantic import BaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ExecutionUnitInputItemSchemaForPhysicsBasedSimulationEngines(BaseModel):
|
|
11
|
+
name: str
|
|
12
|
+
"""
|
|
13
|
+
Input file name. e.g. pw_scf.in
|
|
14
|
+
"""
|
|
15
|
+
content: str
|
|
16
|
+
"""
|
|
17
|
+
Content of the input file. e.g. &CONTROL calculation='scf' ...
|
|
18
|
+
"""
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: workflow/unit/input/_inputItemId.json
|
|
3
|
+
# version: 0.25.5
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from typing import Optional
|
|
8
|
+
|
|
9
|
+
from pydantic import BaseModel, ConfigDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ExecutionUnitInputIdItemSchemaForPhysicsBasedSimulationEngines(BaseModel):
|
|
13
|
+
model_config = ConfigDict(
|
|
14
|
+
extra="forbid",
|
|
15
|
+
)
|
|
16
|
+
templateId: Optional[str] = None
|
|
17
|
+
templateName: Optional[str] = None
|
|
18
|
+
name: Optional[str] = None
|
|
19
|
+
"""
|
|
20
|
+
name of the resulting input file, if different than template name
|
|
21
|
+
"""
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: workflow/unit/input/_inputItemScope.json
|
|
3
|
+
# version: 0.25.5
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from pydantic import BaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class WorkflowUnitInputSchema(BaseModel):
|
|
11
|
+
scope: str
|
|
12
|
+
"""
|
|
13
|
+
Scope of the variable. e.g. 'global' or 'flowchart_id_2'
|
|
14
|
+
"""
|
|
15
|
+
name: str
|
|
16
|
+
"""
|
|
17
|
+
Name of the input data. e.g. total_energy
|
|
18
|
+
"""
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: workflow/unit/input/_map_input.json
|
|
3
|
+
# version: 0.25.5
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from typing import Any, Dict, List, Optional, Union
|
|
8
|
+
|
|
9
|
+
from pydantic import BaseModel
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UnitMapInputSchema(BaseModel):
|
|
13
|
+
target: Optional[str] = None
|
|
14
|
+
values: Optional[List[Union[float, str, Dict[str, Any]]]] = None
|
|
15
|
+
useValues: Optional[bool] = None
|
|
16
|
+
scope: Optional[str] = None
|
|
17
|
+
name: Optional[str] = None
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# generated by datamodel-codegen:
|
|
2
|
+
# filename: workflow/unit/input/_map_input/values.json
|
|
3
|
+
# version: 0.25.5
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
from typing import Optional
|
|
8
|
+
|
|
9
|
+
from pydantic import BaseModel
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class UnitValuesSchema(BaseModel):
|
|
13
|
+
values: Optional[str] = None
|