@mat3ra/esse 2024.4.8-0 → 2024.4.8-2

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.
Files changed (443) hide show
  1. package/.pre-commit-config.yaml +3 -3
  2. package/package.json +1 -1
  3. package/dist/py/__init__.py +0 -3
  4. package/dist/py/core/__init__.py +0 -3
  5. package/dist/py/core/abstract/2d_data.py +0 -17
  6. package/dist/py/core/abstract/2d_plot.py +0 -34
  7. package/dist/py/core/abstract/3d_grid.py +0 -14
  8. package/dist/py/core/abstract/3d_tensor.py +0 -19
  9. package/dist/py/core/abstract/3d_vector_basis.py +0 -15
  10. package/dist/py/core/abstract/__init__.py +0 -3
  11. package/dist/py/core/abstract/point.py +0 -13
  12. package/dist/py/core/abstract/vector.py +0 -13
  13. package/dist/py/core/primitive/1d_data_series.py +0 -13
  14. package/dist/py/core/primitive/3d_lattice.py +0 -34
  15. package/dist/py/core/primitive/__init__.py +0 -3
  16. package/dist/py/core/primitive/array_of_3_booleans.py +0 -13
  17. package/dist/py/core/primitive/array_of_3_numbers.py +0 -13
  18. package/dist/py/core/primitive/array_of_ids.py +0 -23
  19. package/dist/py/core/primitive/array_of_strings.py +0 -16
  20. package/dist/py/core/primitive/axis.py +0 -20
  21. package/dist/py/core/primitive/group_info.py +0 -20
  22. package/dist/py/core/primitive/integer_one_or_zero.py +0 -11
  23. package/dist/py/core/primitive/linked_list/__init__.py +0 -33
  24. package/dist/py/core/primitive/linked_list/base_node.py +0 -31
  25. package/dist/py/core/primitive/linked_list/named_node.py +0 -35
  26. package/dist/py/core/primitive/linked_list/named_node_in_group.py +0 -43
  27. package/dist/py/core/primitive/linked_list/node_with_type.py +0 -32
  28. package/dist/py/core/primitive/scalar.py +0 -11
  29. package/dist/py/core/primitive/slugified_entry.py +0 -18
  30. package/dist/py/core/primitive/slugified_entry_or_slug.py +0 -27
  31. package/dist/py/core/primitive/string.py +0 -11
  32. package/dist/py/core/reference/__init__.py +0 -260
  33. package/dist/py/core/reference/exabyte.py +0 -24
  34. package/dist/py/core/reference/experiment/__init__.py +0 -150
  35. package/dist/py/core/reference/experiment/condition.py +0 -28
  36. package/dist/py/core/reference/experiment/location.py +0 -18
  37. package/dist/py/core/reference/literature/__init__.py +0 -86
  38. package/dist/py/core/reference/literature/name.py +0 -16
  39. package/dist/py/core/reference/literature/pages.py +0 -14
  40. package/dist/py/core/reference/modeling/__init__.py +0 -49
  41. package/dist/py/core/reference/modeling/exabyte.py +0 -42
  42. package/dist/py/core/reusable/__init__.py +0 -3
  43. package/dist/py/core/reusable/atomic_data/__init__.py +0 -3
  44. package/dist/py/core/reusable/atomic_data/per_orbital.py +0 -21
  45. package/dist/py/core/reusable/atomic_data/per_orbital_pair.py +0 -34
  46. package/dist/py/core/reusable/atomic_data/value_number.py +0 -16
  47. package/dist/py/core/reusable/atomic_data/value_string.py +0 -16
  48. package/dist/py/core/reusable/atomic_data_per_orbital_numeric.py +0 -25
  49. package/dist/py/core/reusable/atomic_data_per_orbital_pair_numeric.py +0 -38
  50. package/dist/py/core/reusable/atomic_orbital.py +0 -20
  51. package/dist/py/core/reusable/atomic_scalars.py +0 -28
  52. package/dist/py/core/reusable/atomic_strings.py +0 -24
  53. package/dist/py/core/reusable/atomic_vectors.py +0 -24
  54. package/dist/py/core/reusable/band_gap.py +0 -42
  55. package/dist/py/core/reusable/categories.py +0 -43
  56. package/dist/py/core/reusable/category_path.py +0 -14
  57. package/dist/py/core/reusable/dielectric_tensor_component.py +0 -31
  58. package/dist/py/core/reusable/energy.py +0 -30
  59. package/dist/py/core/reusable/file_metadata.py +0 -24
  60. package/dist/py/core/reusable/frequency_function_matrix.py +0 -20
  61. package/dist/py/core/reusable/object_storage_container_data.py +0 -36
  62. package/dist/py/definitions/__init__.py +0 -3
  63. package/dist/py/definitions/units.py +0 -13
  64. package/dist/py/element.py +0 -74
  65. package/dist/py/in_memory_entity/__init__.py +0 -3
  66. package/dist/py/in_memory_entity/base.py +0 -58
  67. package/dist/py/in_memory_entity/defaultable.py +0 -62
  68. package/dist/py/in_memory_entity/named.py +0 -62
  69. package/dist/py/in_memory_entity/named_defaultable.py +0 -66
  70. package/dist/py/in_memory_entity/named_defaultable_has_metadata.py +0 -67
  71. package/dist/py/in_memory_entity/named_defaultable_runtime_items.py +0 -89
  72. package/dist/py/job/__init__.py +0 -3006
  73. package/dist/py/job/base.py +0 -287
  74. package/dist/py/job/compute.py +0 -161
  75. package/dist/py/material/__init__.py +0 -420
  76. package/dist/py/material/conventional.py +0 -13
  77. package/dist/py/method/__init__.py +0 -28
  78. package/dist/py/method/categorized_method.py +0 -86
  79. package/dist/py/method/method_parameters.py +0 -48
  80. package/dist/py/method/unit_method.py +0 -70
  81. package/dist/py/methods_category/mathematical/__init__.py +0 -3
  82. package/dist/py/methods_category/mathematical/diff/__init__.py +0 -48
  83. package/dist/py/methods_category/mathematical/diff/enum_options.py +0 -13
  84. package/dist/py/methods_category/mathematical/diff/fd.py +0 -52
  85. package/dist/py/methods_category/mathematical/discr/__init__.py +0 -48
  86. package/dist/py/methods_category/mathematical/discr/enum_options.py +0 -13
  87. package/dist/py/methods_category/mathematical/discr/mesh/__init__.py +0 -52
  88. package/dist/py/methods_category/mathematical/discr/mesh/enum_options.py +0 -13
  89. package/dist/py/methods_category/mathematical/discr/mesh/hybrid.py +0 -56
  90. package/dist/py/methods_category/mathematical/discr/mesh/nstruct.py +0 -56
  91. package/dist/py/methods_category/mathematical/discr/mesh/struct/__init__.py +0 -56
  92. package/dist/py/methods_category/mathematical/discr/mesh/struct/cartesian.py +0 -60
  93. package/dist/py/methods_category/mathematical/discr/mesh/struct/enum_options.py +0 -13
  94. package/dist/py/methods_category/mathematical/enum_options.py +0 -13
  95. package/dist/py/methods_category/mathematical/fapprx/__init__.py +0 -48
  96. package/dist/py/methods_category/mathematical/fapprx/basisexp.py +0 -52
  97. package/dist/py/methods_category/mathematical/fapprx/enum_options.py +0 -13
  98. package/dist/py/methods_category/mathematical/fapprx/ipol/__init__.py +0 -52
  99. package/dist/py/methods_category/mathematical/fapprx/ipol/enum_options.py +0 -13
  100. package/dist/py/methods_category/mathematical/fapprx/ipol/lin.py +0 -56
  101. package/dist/py/methods_category/mathematical/fapprx/ipol/poly.py +0 -56
  102. package/dist/py/methods_category/mathematical/fapprx/ipol/spline.py +0 -56
  103. package/dist/py/methods_category/mathematical/intgr/__init__.py +0 -48
  104. package/dist/py/methods_category/mathematical/intgr/analytic/__init__.py +0 -52
  105. package/dist/py/methods_category/mathematical/intgr/analytic/enum_options.py +0 -13
  106. package/dist/py/methods_category/mathematical/intgr/analytic/volume.py +0 -67
  107. package/dist/py/methods_category/mathematical/intgr/diffeq/__init__.py +0 -52
  108. package/dist/py/methods_category/mathematical/intgr/diffeq/enum_options.py +0 -13
  109. package/dist/py/methods_category/mathematical/intgr/diffeq/order1.py +0 -56
  110. package/dist/py/methods_category/mathematical/intgr/diffeq/order2.py +0 -56
  111. package/dist/py/methods_category/mathematical/intgr/enum_options.py +0 -13
  112. package/dist/py/methods_category/mathematical/intgr/numquad/__init__.py +0 -52
  113. package/dist/py/methods_category/mathematical/intgr/numquad/enum_options.py +0 -13
  114. package/dist/py/methods_category/mathematical/intgr/numquad/gauss.py +0 -56
  115. package/dist/py/methods_category/mathematical/intgr/numquad/newcot.py +0 -56
  116. package/dist/py/methods_category/mathematical/intgr/transf/__init__.py +0 -52
  117. package/dist/py/methods_category/mathematical/intgr/transf/enum_options.py +0 -13
  118. package/dist/py/methods_category/mathematical/intgr/transf/fourier.py +0 -56
  119. package/dist/py/methods_category/mathematical/linalg/__init__.py +0 -48
  120. package/dist/py/methods_category/mathematical/linalg/dcomp.py +0 -52
  121. package/dist/py/methods_category/mathematical/linalg/diag/__init__.py +0 -52
  122. package/dist/py/methods_category/mathematical/linalg/diag/davidson.py +0 -56
  123. package/dist/py/methods_category/mathematical/linalg/diag/enum_options.py +0 -13
  124. package/dist/py/methods_category/mathematical/linalg/enum_options.py +0 -13
  125. package/dist/py/methods_category/mathematical/linalg/lintra.py +0 -52
  126. package/dist/py/methods_category/mathematical/linalg/matf.py +0 -52
  127. package/dist/py/methods_category/mathematical/opt/__init__.py +0 -48
  128. package/dist/py/methods_category/mathematical/opt/diff/__init__.py +0 -52
  129. package/dist/py/methods_category/mathematical/opt/diff/bracket.py +0 -56
  130. package/dist/py/methods_category/mathematical/opt/diff/enum_options.py +0 -13
  131. package/dist/py/methods_category/mathematical/opt/diff/local.py +0 -56
  132. package/dist/py/methods_category/mathematical/opt/diff/order1.py +0 -56
  133. package/dist/py/methods_category/mathematical/opt/diff/order2.py +0 -56
  134. package/dist/py/methods_category/mathematical/opt/diff/ordern/__init__.py +0 -56
  135. package/dist/py/methods_category/mathematical/opt/diff/ordern/cg.py +0 -60
  136. package/dist/py/methods_category/mathematical/opt/diff/ordern/enum_options.py +0 -13
  137. package/dist/py/methods_category/mathematical/opt/enum_options.py +0 -13
  138. package/dist/py/methods_category/mathematical/opt/ndiff/__init__.py +0 -52
  139. package/dist/py/methods_category/mathematical/opt/ndiff/direct.py +0 -56
  140. package/dist/py/methods_category/mathematical/opt/ndiff/enum_options.py +0 -13
  141. package/dist/py/methods_category/mathematical/opt/ndiff/pop.py +0 -56
  142. package/dist/py/methods_category/mathematical/opt/ndiff/stoch.py +0 -56
  143. package/dist/py/methods_category/mathematical/opt/root/__init__.py +0 -52
  144. package/dist/py/methods_category/mathematical/opt/root/bracket.py +0 -56
  145. package/dist/py/methods_category/mathematical/opt/root/enum_options.py +0 -13
  146. package/dist/py/methods_category/mathematical/opt/root/iter.py +0 -56
  147. package/dist/py/methods_category/mathematical/regression.py +0 -54
  148. package/dist/py/methods_category/physical/__init__.py +0 -3
  149. package/dist/py/methods_category/physical/enum_options.py +0 -13
  150. package/dist/py/methods_category/physical/qm/__init__.py +0 -48
  151. package/dist/py/methods_category/physical/qm/enum_options.py +0 -13
  152. package/dist/py/methods_category/physical/qm/wf/__init__.py +0 -52
  153. package/dist/py/methods_category/physical/qm/wf/ao/__init__.py +0 -62
  154. package/dist/py/methods_category/physical/qm/wf/ao/dunning.py +0 -60
  155. package/dist/py/methods_category/physical/qm/wf/ao/other.py +0 -60
  156. package/dist/py/methods_category/physical/qm/wf/ao/pople.py +0 -60
  157. package/dist/py/methods_category/physical/qm/wf/enum_options.py +0 -13
  158. package/dist/py/methods_category/physical/qm/wf/psp.py +0 -63
  159. package/dist/py/methods_category/physical/qm/wf/pw.py +0 -56
  160. package/dist/py/methods_category/physical/qm/wf/smearing.py +0 -63
  161. package/dist/py/methods_category/physical/qm/wf/tetrahedron.py +0 -62
  162. package/dist/py/methods_directory/legacy/__init__.py +0 -3
  163. package/dist/py/methods_directory/legacy/localorbital.py +0 -37
  164. package/dist/py/methods_directory/legacy/pseudopotential.py +0 -40
  165. package/dist/py/methods_directory/legacy/regression.py +0 -118
  166. package/dist/py/methods_directory/legacy/unknown.py +0 -37
  167. package/dist/py/methods_directory/mathematical/__init__.py +0 -3
  168. package/dist/py/methods_directory/mathematical/cg.py +0 -87
  169. package/dist/py/methods_directory/mathematical/davidson.py +0 -83
  170. package/dist/py/methods_directory/mathematical/regression/__init__.py +0 -161
  171. package/dist/py/methods_directory/mathematical/regression/data.py +0 -69
  172. package/dist/py/methods_directory/mathematical/regression/dataset.py +0 -20
  173. package/dist/py/methods_directory/mathematical/regression/kernel_ridge/__init__.py +0 -3
  174. package/dist/py/methods_directory/mathematical/regression/kernel_ridge/data_per_property.py +0 -39
  175. package/dist/py/methods_directory/mathematical/regression/linear/__init__.py +0 -3
  176. package/dist/py/methods_directory/mathematical/regression/linear/data_per_property.py +0 -35
  177. package/dist/py/methods_directory/mathematical/regression/per_feature_item.py +0 -24
  178. package/dist/py/methods_directory/mathematical/regression/precision.py +0 -28
  179. package/dist/py/methods_directory/mathematical/regression/precision_per_property.py +0 -24
  180. package/dist/py/methods_directory/physical/__init__.py +0 -3
  181. package/dist/py/methods_directory/physical/ao/__init__.py +0 -3
  182. package/dist/py/methods_directory/physical/ao/dunning.py +0 -103
  183. package/dist/py/methods_directory/physical/ao/enum_options.py +0 -13
  184. package/dist/py/methods_directory/physical/ao/other.py +0 -107
  185. package/dist/py/methods_directory/physical/ao/pople.py +0 -101
  186. package/dist/py/methods_directory/physical/psp/__init__.py +0 -187
  187. package/dist/py/methods_directory/physical/psp/file.py +0 -106
  188. package/dist/py/methods_directory/physical/psp/file_data_item.py +0 -88
  189. package/dist/py/methods_directory/physical/pw.py +0 -83
  190. package/dist/py/methods_directory/physical/smearing.py +0 -90
  191. package/dist/py/methods_directory/physical/tetrahedron.py +0 -91
  192. package/dist/py/model/__init__.py +0 -43
  193. package/dist/py/model/categorized_model.py +0 -211
  194. package/dist/py/model/mixins/__init__.py +0 -3
  195. package/dist/py/model/mixins/dft/__init__.py +0 -5
  196. package/dist/py/model/mixins/dft/double_hybrid_functional.py +0 -18
  197. package/dist/py/model/mixins/dft/enum_options.py +0 -13
  198. package/dist/py/model/mixins/dft/gga_functional.py +0 -22
  199. package/dist/py/model/mixins/dft/hybrid_functional.py +0 -19
  200. package/dist/py/model/mixins/dft/lda_functional.py +0 -21
  201. package/dist/py/model/mixins/dft/mgga_functional.py +0 -21
  202. package/dist/py/model/mixins/dispersion_correction.py +0 -21
  203. package/dist/py/model/mixins/enum_options.py +0 -13
  204. package/dist/py/model/mixins/hubbard.py +0 -18
  205. package/dist/py/model/mixins/spin_orbit_coupling.py +0 -16
  206. package/dist/py/model/mixins/spin_polarization.py +0 -22
  207. package/dist/py/model/model_parameters.py +0 -123
  208. package/dist/py/model/model_without_method.py +0 -144
  209. package/dist/py/models_category/__init__.py +0 -3
  210. package/dist/py/models_category/enum_options.py +0 -13
  211. package/dist/py/models_category/pb/__init__.py +0 -48
  212. package/dist/py/models_category/pb/enum_options.py +0 -13
  213. package/dist/py/models_category/pb/qm/__init__.py +0 -52
  214. package/dist/py/models_category/pb/qm/abin/__init__.py +0 -56
  215. package/dist/py/models_category/pb/qm/abin/enum_options.py +0 -13
  216. package/dist/py/models_category/pb/qm/abin/gw.py +0 -66
  217. package/dist/py/models_category/pb/qm/dft/__init__.py +0 -56
  218. package/dist/py/models_category/pb/qm/dft/enum_options.py +0 -13
  219. package/dist/py/models_category/pb/qm/dft/ksdft/__init__.py +0 -60
  220. package/dist/py/models_category/pb/qm/dft/ksdft/double_hybrid.py +0 -64
  221. package/dist/py/models_category/pb/qm/dft/ksdft/enum_options.py +0 -13
  222. package/dist/py/models_category/pb/qm/dft/ksdft/gga.py +0 -64
  223. package/dist/py/models_category/pb/qm/dft/ksdft/hybrid.py +0 -64
  224. package/dist/py/models_category/pb/qm/dft/ksdft/lda.py +0 -64
  225. package/dist/py/models_category/pb/qm/dft/ksdft/mgga.py +0 -64
  226. package/dist/py/models_category/pb/qm/enum_options.py +0 -13
  227. package/dist/py/models_category/pb/qm/semp.py +0 -56
  228. package/dist/py/models_category/st/__init__.py +0 -48
  229. package/dist/py/models_category/st/det/__init__.py +0 -52
  230. package/dist/py/models_category/st/det/enum_options.py +0 -13
  231. package/dist/py/models_category/st/det/ml/__init__.py +0 -56
  232. package/dist/py/models_category/st/det/ml/enum_options.py +0 -13
  233. package/dist/py/models_category/st/det/ml/re.py +0 -60
  234. package/dist/py/models_category/st/enum_options.py +0 -13
  235. package/dist/py/models_directory/__init__.py +0 -3
  236. package/dist/py/models_directory/double_hybrid.py +0 -205
  237. package/dist/py/models_directory/gga.py +0 -219
  238. package/dist/py/models_directory/gw.py +0 -272
  239. package/dist/py/models_directory/hybrid.py +0 -213
  240. package/dist/py/models_directory/lda.py +0 -218
  241. package/dist/py/models_directory/legacy/__init__.py +0 -3
  242. package/dist/py/models_directory/legacy/dft.py +0 -170
  243. package/dist/py/models_directory/legacy/ml.py +0 -52
  244. package/dist/py/models_directory/legacy/unknown.py +0 -52
  245. package/dist/py/models_directory/mgga.py +0 -218
  246. package/dist/py/models_directory/re.py +0 -160
  247. package/dist/py/project.py +0 -82
  248. package/dist/py/properties_directory/__init__.py +0 -3
  249. package/dist/py/properties_directory/derived_properties.py +0 -140
  250. package/dist/py/properties_directory/electronic_configuration.py +0 -20
  251. package/dist/py/properties_directory/elemental/__init__.py +0 -3
  252. package/dist/py/properties_directory/elemental/atomic_radius.py +0 -34
  253. package/dist/py/properties_directory/elemental/electronegativity.py +0 -19
  254. package/dist/py/properties_directory/elemental/ionization_potential.py +0 -30
  255. package/dist/py/properties_directory/non_scalar/__init__.py +0 -3
  256. package/dist/py/properties_directory/non_scalar/average_potential_profile.py +0 -83
  257. package/dist/py/properties_directory/non_scalar/band_gaps.py +0 -64
  258. package/dist/py/properties_directory/non_scalar/band_structure.py +0 -92
  259. package/dist/py/properties_directory/non_scalar/charge_density_profile.py +0 -63
  260. package/dist/py/properties_directory/non_scalar/density_of_states.py +0 -97
  261. package/dist/py/properties_directory/non_scalar/dielectric_tensor.py +0 -40
  262. package/dist/py/properties_directory/non_scalar/file_content.py +0 -64
  263. package/dist/py/properties_directory/non_scalar/hubbard_u.py +0 -40
  264. package/dist/py/properties_directory/non_scalar/hubbard_v.py +0 -54
  265. package/dist/py/properties_directory/non_scalar/hubbard_v_nn.py +0 -54
  266. package/dist/py/properties_directory/non_scalar/phonon_dispersions.py +0 -79
  267. package/dist/py/properties_directory/non_scalar/phonon_dos.py +0 -71
  268. package/dist/py/properties_directory/non_scalar/potential_profile.py +0 -69
  269. package/dist/py/properties_directory/non_scalar/reaction_energy_profile.py +0 -69
  270. package/dist/py/properties_directory/non_scalar/stress_tensor.py +0 -31
  271. package/dist/py/properties_directory/non_scalar/total_energy_contributions.py +0 -198
  272. package/dist/py/properties_directory/non_scalar/vibrational_spectrum.py +0 -75
  273. package/dist/py/properties_directory/scalar/__init__.py +0 -3
  274. package/dist/py/properties_directory/scalar/electron_affinity.py +0 -34
  275. package/dist/py/properties_directory/scalar/fermi_energy.py +0 -34
  276. package/dist/py/properties_directory/scalar/formation_energy.py +0 -34
  277. package/dist/py/properties_directory/scalar/ionization_potential.py +0 -34
  278. package/dist/py/properties_directory/scalar/pressure.py +0 -25
  279. package/dist/py/properties_directory/scalar/reaction_energy_barrier.py +0 -34
  280. package/dist/py/properties_directory/scalar/surface_energy.py +0 -34
  281. package/dist/py/properties_directory/scalar/total_energy.py +0 -34
  282. package/dist/py/properties_directory/scalar/total_force.py +0 -29
  283. package/dist/py/properties_directory/scalar/valence_band_offset.py +0 -34
  284. package/dist/py/properties_directory/scalar/zero_point_energy.py +0 -34
  285. package/dist/py/properties_directory/structural/__init__.py +0 -3
  286. package/dist/py/properties_directory/structural/atomic_forces.py +0 -40
  287. package/dist/py/properties_directory/structural/basis/__init__.py +0 -68
  288. package/dist/py/properties_directory/structural/basis/atomic_constraints.py +0 -30
  289. package/dist/py/properties_directory/structural/basis/atomic_coordinate.py +0 -14
  290. package/dist/py/properties_directory/structural/basis/atomic_coordinates.py +0 -39
  291. package/dist/py/properties_directory/structural/basis/atomic_element.py +0 -19
  292. package/dist/py/properties_directory/structural/basis/bonds.py +0 -40
  293. package/dist/py/properties_directory/structural/density.py +0 -24
  294. package/dist/py/properties_directory/structural/elemental_ratio.py +0 -23
  295. package/dist/py/properties_directory/structural/inchi.py +0 -19
  296. package/dist/py/properties_directory/structural/inchi_key.py +0 -19
  297. package/dist/py/properties_directory/structural/lattice/__init__.py +0 -102
  298. package/dist/py/properties_directory/structural/lattice/lattice_bravais.py +0 -71
  299. package/dist/py/properties_directory/structural/lattice/lattice_vectors.py +0 -35
  300. package/dist/py/properties_directory/structural/lattice/type_enum.py +0 -24
  301. package/dist/py/properties_directory/structural/lattice/type_extended_enum.py +0 -34
  302. package/dist/py/properties_directory/structural/magnetic_moments.py +0 -35
  303. package/dist/py/properties_directory/structural/molecular_pattern.py +0 -70
  304. package/dist/py/properties_directory/structural/p_norm.py +0 -23
  305. package/dist/py/properties_directory/structural/patterns/__init__.py +0 -3
  306. package/dist/py/properties_directory/structural/patterns/functional_group.py +0 -37
  307. package/dist/py/properties_directory/structural/patterns/ring.py +0 -34
  308. package/dist/py/properties_directory/structural/patterns/special_bond.py +0 -33
  309. package/dist/py/properties_directory/structural/symmetry.py +0 -39
  310. package/dist/py/properties_directory/structural/volume.py +0 -24
  311. package/dist/py/properties_directory/workflow/convergence/__init__.py +0 -3
  312. package/dist/py/properties_directory/workflow/convergence/electronic.py +0 -26
  313. package/dist/py/properties_directory/workflow/convergence/ionic.py +0 -63
  314. package/dist/py/properties_directory/workflow/convergence/kpoint.py +0 -43
  315. package/dist/py/property/__init__.py +0 -3
  316. package/dist/py/property/base/The_source_of_a_property/__init__.py +0 -5
  317. package/dist/py/property/base/The_source_of_a_property/field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.py +0 -38
  318. package/dist/py/property/base/__init__.py +0 -232
  319. package/dist/py/property/meta/The_source_of_a_property/__init__.py +0 -5
  320. package/dist/py/property/meta/The_source_of_a_property/field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.py +0 -38
  321. package/dist/py/property/meta/__init__.py +0 -232
  322. package/dist/py/property/raw/The_source_of_a_property/__init__.py +0 -5
  323. package/dist/py/property/raw/The_source_of_a_property/field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.py +0 -38
  324. package/dist/py/property/raw/__init__.py +0 -232
  325. package/dist/py/property/source/The_source_of_a_property/__init__.py +0 -5
  326. package/dist/py/property/source/The_source_of_a_property/field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.py +0 -38
  327. package/dist/py/property/source/__init__.py +0 -150
  328. package/dist/py/software/__init__.py +0 -3
  329. package/dist/py/software/application.py +0 -93
  330. package/dist/py/software/executable.py +0 -97
  331. package/dist/py/software/flavor.py +0 -116
  332. package/dist/py/software/template.py +0 -77
  333. package/dist/py/software_directory/ml/__init__.py +0 -3
  334. package/dist/py/software_directory/ml/exabyteml.py +0 -28
  335. package/dist/py/software_directory/ml/unit/__init__.py +0 -3
  336. package/dist/py/software_directory/ml/unit/execution/__init__.py +0 -1348
  337. package/dist/py/software_directory/ml/unit/execution/evaluate/__init__.py +0 -5
  338. package/dist/py/software_directory/ml/unit/execution/evaluate/cross_validate.py +0 -381
  339. package/dist/py/software_directory/ml/unit/execution/initialize.py +0 -381
  340. package/dist/py/software_directory/ml/unit/execution/score.py +0 -374
  341. package/dist/py/software_directory/ml/unit/execution/train.py +0 -385
  342. package/dist/py/software_directory/ml/unit/processing/__init__.py +0 -328
  343. package/dist/py/software_directory/ml/unit/processing/data_transformation/__init__.py +0 -199
  344. package/dist/py/software_directory/ml/unit/processing/data_transformation/manipulation.py +0 -176
  345. package/dist/py/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.py +0 -195
  346. package/dist/py/software_directory/ml/unit/processing/feature_selection/__init__.py +0 -180
  347. package/dist/py/software_directory/ml/unit/processing/feature_selection/filter_based.py +0 -176
  348. package/dist/py/software_directory/modeling/__init__.py +0 -3
  349. package/dist/py/software_directory/modeling/deepmd.py +0 -112
  350. package/dist/py/software_directory/modeling/espresso/__init__.py +0 -39
  351. package/dist/py/software_directory/modeling/espresso/arguments.py +0 -35
  352. package/dist/py/software_directory/modeling/nwchem.py +0 -113
  353. package/dist/py/software_directory/modeling/unit/__init__.py +0 -3
  354. package/dist/py/software_directory/modeling/unit/execution.py +0 -390
  355. package/dist/py/software_directory/modeling/vasp.py +0 -117
  356. package/dist/py/software_directory/scripting/__init__.py +0 -3
  357. package/dist/py/software_directory/scripting/jupyter_lab.py +0 -115
  358. package/dist/py/software_directory/scripting/python.py +0 -129
  359. package/dist/py/software_directory/scripting/shell.py +0 -129
  360. package/dist/py/software_directory/scripting/unit/__init__.py +0 -3
  361. package/dist/py/software_directory/scripting/unit/execution.py +0 -390
  362. package/dist/py/system/__init__.py +0 -3
  363. package/dist/py/system/_material.py +0 -29
  364. package/dist/py/system/_parent_job.py +0 -29
  365. package/dist/py/system/_project.py +0 -29
  366. package/dist/py/system/bankable.py +0 -20
  367. package/dist/py/system/consistency_check.py +0 -40
  368. package/dist/py/system/creator.py +0 -29
  369. package/dist/py/system/creator_account.py +0 -28
  370. package/dist/py/system/database_source.py +0 -36
  371. package/dist/py/system/defaultable.py +0 -16
  372. package/dist/py/system/description.py +0 -17
  373. package/dist/py/system/entity_reference.py +0 -24
  374. package/dist/py/system/file_source.py +0 -28
  375. package/dist/py/system/history.py +0 -18
  376. package/dist/py/system/iframe_message.py +0 -36
  377. package/dist/py/system/in_set.py +0 -30
  378. package/dist/py/system/is_multi_material.py +0 -13
  379. package/dist/py/system/is_outdated.py +0 -13
  380. package/dist/py/system/job_extended.py +0 -36
  381. package/dist/py/system/message.py +0 -59
  382. package/dist/py/system/metadata.py +0 -13
  383. package/dist/py/system/name.py +0 -16
  384. package/dist/py/system/owner.py +0 -29
  385. package/dist/py/system/path.py +0 -16
  386. package/dist/py/system/path_entity.py +0 -20
  387. package/dist/py/system/schema_version.py +0 -16
  388. package/dist/py/system/scope.py +0 -13
  389. package/dist/py/system/set.py +0 -15
  390. package/dist/py/system/sharing.py +0 -13
  391. package/dist/py/system/soft_removable.py +0 -20
  392. package/dist/py/system/status.py +0 -20
  393. package/dist/py/system/tags.py +0 -16
  394. package/dist/py/system/timestampable.py +0 -22
  395. package/dist/py/system/use_values.py +0 -13
  396. package/dist/py/third_party/db/nist_jarvis/2024.3.13/__init__.py +0 -3
  397. package/dist/py/third_party/db/nist_jarvis/2024.3.13/atoms.py +0 -41
  398. package/dist/py/third_party/db/nist_jarvis/2024.3.13/db_entry.py +0 -55
  399. package/dist/py/third_party/file/applications/espresso/7.2/__init__.py +0 -3
  400. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/__init__.py +0 -1990
  401. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/atomic_positions.py +0 -51
  402. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/atomic_species.py +0 -34
  403. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/cell.py +0 -111
  404. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/cell_parameters.py +0 -36
  405. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/control.py +0 -169
  406. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/electrons.py +0 -139
  407. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/hubbard.py +0 -194
  408. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/ions.py +0 -422
  409. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/k_points.py +0 -73
  410. package/dist/py/third_party/file/applications/espresso/7.2/pw.x/system.py +0 -841
  411. package/dist/py/workflow/__init__.py +0 -2817
  412. package/dist/py/workflow/base.py +0 -79
  413. package/dist/py/workflow/base_flow.py +0 -180
  414. package/dist/py/workflow/scope.py +0 -14
  415. package/dist/py/workflow/subworkflow/__init__.py +0 -1472
  416. package/dist/py/workflow/subworkflow/unit.py +0 -1187
  417. package/dist/py/workflow/unit/__init__.py +0 -1415
  418. package/dist/py/workflow/unit/assertion.py +0 -149
  419. package/dist/py/workflow/unit/assignment.py +0 -165
  420. package/dist/py/workflow/unit/base.py +0 -137
  421. package/dist/py/workflow/unit/condition.py +0 -176
  422. package/dist/py/workflow/unit/execution.py +0 -374
  423. package/dist/py/workflow/unit/input/__init__.py +0 -3
  424. package/dist/py/workflow/unit/input/_input.py +0 -43
  425. package/dist/py/workflow/unit/input/_inputItem.py +0 -18
  426. package/dist/py/workflow/unit/input/_inputItemId.py +0 -21
  427. package/dist/py/workflow/unit/input/_inputItemScope.py +0 -18
  428. package/dist/py/workflow/unit/input/_map_input/__init__.py +0 -17
  429. package/dist/py/workflow/unit/input/_map_input/values.py +0 -13
  430. package/dist/py/workflow/unit/io/__init__.py +0 -254
  431. package/dist/py/workflow/unit/io/api.py +0 -27
  432. package/dist/py/workflow/unit/io/db.py +0 -39
  433. package/dist/py/workflow/unit/io/object_storage.py +0 -59
  434. package/dist/py/workflow/unit/map.py +0 -169
  435. package/dist/py/workflow/unit/processing.py +0 -153
  436. package/dist/py/workflow/unit/reduce.py +0 -160
  437. package/dist/py/workflow/unit/runtime/__init__.py +0 -3
  438. package/dist/py/workflow/unit/runtime/_runtime_item_full_object.py +0 -14
  439. package/dist/py/workflow/unit/runtime/_runtime_item_name_object.py +0 -14
  440. package/dist/py/workflow/unit/runtime/_runtime_item_string.py +0 -14
  441. package/dist/py/workflow/unit/runtime/runtime_item.py +0 -20
  442. package/dist/py/workflow/unit/runtime/runtime_items.py +0 -35
  443. package/dist/py/workflow/unit/subworkflow.py +0 -141
@@ -1,232 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: property/raw.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
9
-
10
- from pydantic import BaseModel, Field
11
-
12
- from ..The_source_of_a_property import (
13
- field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc,
14
- )
15
-
16
-
17
- class Type(Enum):
18
- experiment = "experiment"
19
-
20
-
21
- class ExperimentAuthorSchema(BaseModel):
22
- first: str
23
- middle: Optional[str] = None
24
- last: str
25
- affiliation: Optional[str] = None
26
-
27
-
28
- class ScalarItem(BaseModel):
29
- value: Optional[str] = None
30
-
31
-
32
- class ConditionSchema(BaseModel):
33
- units: Optional[str] = None
34
- """
35
- condition unit
36
- """
37
- scalar: Optional[List[ScalarItem]] = None
38
- """
39
- array of condition values
40
- """
41
- name: str
42
- """
43
- human-readable name of the condition
44
- """
45
-
46
-
47
- class LocationSchema(BaseModel):
48
- latitude: float
49
- """
50
- location latitude
51
- """
52
- longitude: float
53
- """
54
- location longitude
55
- """
56
-
57
-
58
- class Type67(Enum):
59
- literature = "literature"
60
-
61
-
62
- class PagesSchema(BaseModel):
63
- start: str
64
- end: Optional[str] = None
65
-
66
-
67
- class LiteratureReferenceSchema(BaseModel):
68
- type: Optional[Type67] = None
69
- doi: Optional[str] = None
70
- """
71
- Digital Object Identifier of the reference.
72
- """
73
- isbn: Optional[str] = None
74
- """
75
- International Standard Book Number of the reference.
76
- """
77
- issn: Optional[str] = None
78
- """
79
- International Standard Serial Number of the reference.
80
- """
81
- url: Optional[str] = None
82
- """
83
- Internet address of the reference.
84
- """
85
- title: Optional[str] = None
86
- """
87
- Title of the work.
88
- """
89
- publisher: Optional[str] = None
90
- """
91
- Publisher of the work.
92
- """
93
- journal: Optional[str] = None
94
- """
95
- Journal in which the work appeared.
96
- """
97
- volume: Optional[str] = None
98
- """
99
- Volume of the series in which the work appeared.
100
- """
101
- year: Optional[str] = None
102
- """
103
- Year in which the reference was published.
104
- """
105
- issue: Optional[str] = None
106
- """
107
- Issue of the collection in which the work appeared.
108
- """
109
- pages: Optional[PagesSchema] = Field(None, title="pages schema")
110
- """
111
- Start and end pages of the work.
112
- """
113
- authors: Optional[List[ExperimentAuthorSchema]] = None
114
- """
115
- List of authors of the work.
116
- """
117
- editors: Optional[List[ExperimentAuthorSchema]] = None
118
- """
119
- List of editors of the work.
120
- """
121
- reference: Optional[List[Dict[str, Any]]] = None
122
- """
123
- References cited by the work. Reference objects can nest as deeply as needed. This is useful, for example, when tracking the history of a value referenced in a scholarly article; the top level reference would contain information about where the data was accessed while the nested reference would contain information about where it was originally published.
124
- """
125
-
126
-
127
- class InfoForCharacteristicObtainedByExperiment(BaseModel):
128
- type: Optional[Type] = None
129
- authors: List[ExperimentAuthorSchema]
130
- """
131
- experiment authors
132
- """
133
- title: str
134
- """
135
- experiment title
136
- """
137
- method: str
138
- """
139
- method used in experiment
140
- """
141
- conditions: List[ConditionSchema]
142
- location: Optional[LocationSchema] = Field(None, title="location schema")
143
- timestamp: float
144
- """
145
- epoch time.
146
- """
147
- note: Optional[str] = None
148
- """
149
- Note about experiment
150
- """
151
- references: Optional[List[LiteratureReferenceSchema]] = None
152
- """
153
- references to literature articles
154
- """
155
-
156
-
157
- class SystemTag(Enum):
158
- isRefined = "isRefined"
159
- isBest = "isBest"
160
-
161
-
162
- class Name(Enum):
163
- default = "default"
164
- atomsTooClose = "atomsTooClose"
165
- atomsOverlap = "atomsOverlap"
166
-
167
-
168
- class Severity(Enum):
169
- info = "info"
170
- warning = "warning"
171
- error = "error"
172
-
173
-
174
- class ConsistencyCheck(BaseModel):
175
- key: str
176
- """
177
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
178
- """
179
- name: Name
180
- """
181
- Name of the consistency check that is performed, which is listed in an enum.
182
- """
183
- severity: Severity
184
- """
185
- Severity level of the problem, which is used in UI to differentiate.
186
- """
187
- message: str
188
- """
189
- Message generated by the consistency check describing the problem.
190
- """
191
-
192
-
193
- class SchemaOfMaterialSPreliminaryProperty(BaseModel):
194
- slug: Optional[str] = None
195
- """
196
- property slug, e.g. total_energy
197
- """
198
- group: Optional[str] = None
199
- """
200
- property group, e.g. qe:dft:gga:pbe
201
- """
202
- data: Dict[str, Any]
203
- """
204
- container of the information, specific to each property
205
- """
206
- source: field_This_could_be_an_article__a_simulation_on_Exabyte__an_external_simulation__etc.Field = Field(
207
- ...,
208
- title="The source of a property. This could be an article, a simulation on Exabyte, an external simulation, etc.",
209
- )
210
- exabyteId: Optional[List[str]] = None
211
- """
212
- Id of the corresponding item in the entity bank that this property is obtained for
213
- """
214
- precision: Optional[Dict[str, Any]] = None
215
- count: Optional[float] = None
216
- """
217
- total number of properties among which this property is the best.
218
- """
219
- systemTags: Optional[List[SystemTag]] = None
220
- """
221
- property system tags, marks property system characteristics, values refined or best (could be both)
222
- """
223
- field_id: Optional[str] = Field(None, alias="_id")
224
- """
225
- entity identity
226
- """
227
- systemName: Optional[str] = None
228
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
229
- schemaVersion: Optional[str] = "2022.8.16"
230
- """
231
- entity's schema version. Used to distinct between different schemas.
232
- """
@@ -1,5 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: schema
3
- # version: 0.25.5
4
-
5
- from __future__ import annotations
@@ -1,38 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: property/source.json
3
- # version: 0.25.5
4
-
5
- from __future__ import annotations
6
-
7
- from typing import Optional, Union
8
-
9
- from pydantic import BaseModel
10
-
11
- from .. import InfoForCharacteristicObtainedByExperiment
12
-
13
-
14
- class Info(BaseModel):
15
- materialId: Optional[str] = None
16
- """
17
- Material's identity. Used for protoProperties.
18
- """
19
- jobId: Optional[str] = None
20
- """
21
- Job's identity
22
- """
23
- unitId: Optional[str] = None
24
- """
25
- Id of the unit that extracted the result
26
- """
27
-
28
-
29
- class Field(BaseModel):
30
- type: Optional[str] = None
31
- """
32
- Type of the material property's source.
33
- """
34
- url: Optional[str] = None
35
- """
36
- Internet address of the reference.
37
- """
38
- info: Optional[Union[Info, InfoForCharacteristicObtainedByExperiment]] = None
@@ -1,150 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: property/source.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
9
-
10
- from pydantic import BaseModel, Field
11
-
12
-
13
- class Type(Enum):
14
- experiment = "experiment"
15
-
16
-
17
- class ExperimentAuthorSchema(BaseModel):
18
- first: str
19
- middle: Optional[str] = None
20
- last: str
21
- affiliation: Optional[str] = None
22
-
23
-
24
- class ScalarItem(BaseModel):
25
- value: Optional[str] = None
26
-
27
-
28
- class ConditionSchema(BaseModel):
29
- units: Optional[str] = None
30
- """
31
- condition unit
32
- """
33
- scalar: Optional[List[ScalarItem]] = None
34
- """
35
- array of condition values
36
- """
37
- name: str
38
- """
39
- human-readable name of the condition
40
- """
41
-
42
-
43
- class LocationSchema(BaseModel):
44
- latitude: float
45
- """
46
- location latitude
47
- """
48
- longitude: float
49
- """
50
- location longitude
51
- """
52
-
53
-
54
- class Type78(Enum):
55
- literature = "literature"
56
-
57
-
58
- class PagesSchema(BaseModel):
59
- start: str
60
- end: Optional[str] = None
61
-
62
-
63
- class LiteratureReferenceSchema(BaseModel):
64
- type: Optional[Type78] = None
65
- doi: Optional[str] = None
66
- """
67
- Digital Object Identifier of the reference.
68
- """
69
- isbn: Optional[str] = None
70
- """
71
- International Standard Book Number of the reference.
72
- """
73
- issn: Optional[str] = None
74
- """
75
- International Standard Serial Number of the reference.
76
- """
77
- url: Optional[str] = None
78
- """
79
- Internet address of the reference.
80
- """
81
- title: Optional[str] = None
82
- """
83
- Title of the work.
84
- """
85
- publisher: Optional[str] = None
86
- """
87
- Publisher of the work.
88
- """
89
- journal: Optional[str] = None
90
- """
91
- Journal in which the work appeared.
92
- """
93
- volume: Optional[str] = None
94
- """
95
- Volume of the series in which the work appeared.
96
- """
97
- year: Optional[str] = None
98
- """
99
- Year in which the reference was published.
100
- """
101
- issue: Optional[str] = None
102
- """
103
- Issue of the collection in which the work appeared.
104
- """
105
- pages: Optional[PagesSchema] = Field(None, title="pages schema")
106
- """
107
- Start and end pages of the work.
108
- """
109
- authors: Optional[List[ExperimentAuthorSchema]] = None
110
- """
111
- List of authors of the work.
112
- """
113
- editors: Optional[List[ExperimentAuthorSchema]] = None
114
- """
115
- List of editors of the work.
116
- """
117
- reference: Optional[List[Dict[str, Any]]] = None
118
- """
119
- References cited by the work. Reference objects can nest as deeply as needed. This is useful, for example, when tracking the history of a value referenced in a scholarly article; the top level reference would contain information about where the data was accessed while the nested reference would contain information about where it was originally published.
120
- """
121
-
122
-
123
- class InfoForCharacteristicObtainedByExperiment(BaseModel):
124
- type: Optional[Type] = None
125
- authors: List[ExperimentAuthorSchema]
126
- """
127
- experiment authors
128
- """
129
- title: str
130
- """
131
- experiment title
132
- """
133
- method: str
134
- """
135
- method used in experiment
136
- """
137
- conditions: List[ConditionSchema]
138
- location: Optional[LocationSchema] = Field(None, title="location schema")
139
- timestamp: float
140
- """
141
- epoch time.
142
- """
143
- note: Optional[str] = None
144
- """
145
- Note about experiment
146
- """
147
- references: Optional[List[LiteratureReferenceSchema]] = None
148
- """
149
- references to literature articles
150
- """
@@ -1,3 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: schema
3
- # version: 0.25.5
@@ -1,93 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: software/application.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, ConfigDict, Field
11
-
12
-
13
- class Name(Enum):
14
- default = "default"
15
- atomsTooClose = "atomsTooClose"
16
- atomsOverlap = "atomsOverlap"
17
-
18
-
19
- class Severity(Enum):
20
- info = "info"
21
- warning = "warning"
22
- error = "error"
23
-
24
-
25
- class ConsistencyCheck(BaseModel):
26
- key: str
27
- """
28
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
29
- """
30
- name: Name
31
- """
32
- Name of the consistency check that is performed, which is listed in an enum.
33
- """
34
- severity: Severity
35
- """
36
- Severity level of the problem, which is used in UI to differentiate.
37
- """
38
- message: str
39
- """
40
- Message generated by the consistency check describing the problem.
41
- """
42
-
43
-
44
- class ApplicationSchemaBase(BaseModel):
45
- model_config = ConfigDict(
46
- extra="allow",
47
- )
48
- shortName: Optional[str] = None
49
- """
50
- The short name of the application. e.g. qe
51
- """
52
- summary: Optional[str] = None
53
- """
54
- Application's short description.
55
- """
56
- version: Optional[str] = None
57
- """
58
- Application version. e.g. 5.3.5
59
- """
60
- build: Optional[str] = None
61
- """
62
- Application build. e.g. VTST
63
- """
64
- hasAdvancedComputeOptions: Optional[bool] = None
65
- """
66
- Whether advanced compute options are present
67
- """
68
- isLicensed: Optional[bool] = None
69
- """
70
- Whether licensing is present
71
- """
72
- field_id: Optional[str] = Field(None, alias="_id")
73
- """
74
- entity identity
75
- """
76
- slug: Optional[str] = None
77
- """
78
- entity slug
79
- """
80
- systemName: Optional[str] = None
81
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
82
- schemaVersion: Optional[str] = "2022.8.16"
83
- """
84
- entity's schema version. Used to distinct between different schemas.
85
- """
86
- name: Optional[str] = None
87
- """
88
- entity name
89
- """
90
- isDefault: Optional[bool] = False
91
- """
92
- Identifies that entity is defaultable
93
- """
@@ -1,97 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: software/executable.json
3
- # version: 0.25.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import List, Optional, Union
9
-
10
- from pydantic import BaseModel, Field
11
-
12
-
13
- class Name(Enum):
14
- default = "default"
15
- atomsTooClose = "atomsTooClose"
16
- atomsOverlap = "atomsOverlap"
17
-
18
-
19
- class Severity(Enum):
20
- info = "info"
21
- warning = "warning"
22
- error = "error"
23
-
24
-
25
- class ConsistencyCheck(BaseModel):
26
- key: str
27
- """
28
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
29
- """
30
- name: Name
31
- """
32
- Name of the consistency check that is performed, which is listed in an enum.
33
- """
34
- severity: Severity
35
- """
36
- Severity level of the problem, which is used in UI to differentiate.
37
- """
38
- message: str
39
- """
40
- Message generated by the consistency check describing the problem.
41
- """
42
-
43
-
44
- class NameResultSchema(BaseModel):
45
- name: str
46
- """
47
- The name of this item. e.g. scf_accuracy
48
- """
49
-
50
-
51
- class ExecutableSchema(BaseModel):
52
- name: str
53
- """
54
- The name of the executable. e.g. pw.x
55
- """
56
- applicationId: Optional[List[str]] = None
57
- """
58
- _ids of the application this executable belongs to
59
- """
60
- hasAdvancedComputeOptions: Optional[bool] = None
61
- """
62
- Whether advanced compute options are present
63
- """
64
- field_id: Optional[str] = Field(None, alias="_id")
65
- """
66
- entity identity
67
- """
68
- slug: Optional[str] = None
69
- """
70
- entity slug
71
- """
72
- systemName: Optional[str] = None
73
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
74
- schemaVersion: Optional[str] = "2022.8.16"
75
- """
76
- entity's schema version. Used to distinct between different schemas.
77
- """
78
- isDefault: Optional[bool] = False
79
- """
80
- Identifies that entity is defaultable
81
- """
82
- preProcessors: Optional[List[Union[NameResultSchema, str]]] = None
83
- """
84
- names of the pre-processors for this calculation
85
- """
86
- postProcessors: Optional[List[Union[NameResultSchema, str]]] = None
87
- """
88
- names of the post-processors for this calculation
89
- """
90
- monitors: Optional[List[Union[NameResultSchema, str]]] = None
91
- """
92
- names of the monitors for this calculation
93
- """
94
- results: Optional[List[Union[NameResultSchema, str]]] = None
95
- """
96
- names of the results for this calculation
97
- """