@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,254 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: workflow/unit/io.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
- io = "io"
15
-
16
-
17
- class Subtype(Enum):
18
- input = "input"
19
- output = "output"
20
- dataFrame = "dataFrame"
21
-
22
-
23
- class Source(Enum):
24
- api = "api"
25
- db = "db"
26
- object_storage = "object_storage"
27
-
28
-
29
- class DataIORestAPIInputSchema(BaseModel):
30
- model_config = ConfigDict(
31
- extra="allow",
32
- )
33
- endpoint: str
34
- """
35
- rest API endpoint
36
- """
37
- endpoint_options: Dict[str, Any]
38
- """
39
- rest API endpoint options
40
- """
41
- name: Optional[str] = None
42
- """
43
- the name of the variable in local scope to save the data under
44
- """
45
-
46
-
47
- class DataIODatabaseInputOutputSchema(BaseModel):
48
- model_config = ConfigDict(
49
- extra="allow",
50
- )
51
- ids: List[str]
52
- """
53
- IDs of item to retrieve from db
54
- """
55
-
56
-
57
- class DataIODatabaseInputOutputSchema3(BaseModel):
58
- model_config = ConfigDict(
59
- extra="allow",
60
- )
61
- collection: str
62
- """
63
- db collection name
64
- """
65
- draft: bool
66
- """
67
- whether the result should be saved as draft
68
- """
69
-
70
-
71
- class ObjectStorageContainerData(BaseModel):
72
- CONTAINER: Optional[str] = None
73
- """
74
- Object storage container for the file
75
- """
76
- NAME: Optional[str] = None
77
- """
78
- Name of the file inside the object storage bucket
79
- """
80
- PROVIDER: Optional[str] = None
81
- """
82
- Object storage provider
83
- """
84
- REGION: Optional[str] = None
85
- """
86
- Region for the object container specified in Container
87
- """
88
- SIZE: Optional[int] = None
89
- """
90
- Size of the file in bytes
91
- """
92
- TIMESTAMP: Optional[str] = None
93
- """
94
- Unix timestamp showing when the file was last modified
95
- """
96
-
97
-
98
- class ObjectStorageIoSchema(BaseModel):
99
- model_config = ConfigDict(
100
- extra="allow",
101
- )
102
- objectData: ObjectStorageContainerData = Field(..., title="Object Storage Container Data")
103
- overwrite: Optional[bool] = False
104
- """
105
- if a file with the same filename already exists, whether to overwrite the old file
106
- """
107
- pathname: Optional[str] = None
108
- """
109
- Relative path to the directory that contains the file.
110
- """
111
- basename: Optional[str] = None
112
- """
113
- Basename of the file
114
- """
115
- filetype: Optional[str] = None
116
- """
117
- What kind of file this is, e.g. image / text
118
- """
119
-
120
-
121
- class Status(Enum):
122
- idle = "idle"
123
- active = "active"
124
- warning = "warning"
125
- error = "error"
126
- finished = "finished"
127
-
128
-
129
- class Name(Enum):
130
- default = "default"
131
- atomsTooClose = "atomsTooClose"
132
- atomsOverlap = "atomsOverlap"
133
-
134
-
135
- class Severity(Enum):
136
- info = "info"
137
- warning = "warning"
138
- error = "error"
139
-
140
-
141
- class ConsistencyCheck(BaseModel):
142
- key: str
143
- """
144
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
145
- """
146
- name: Name
147
- """
148
- Name of the consistency check that is performed, which is listed in an enum.
149
- """
150
- severity: Severity
151
- """
152
- Severity level of the problem, which is used in UI to differentiate.
153
- """
154
- message: str
155
- """
156
- Message generated by the consistency check describing the problem.
157
- """
158
-
159
-
160
- class NameResultSchema(BaseModel):
161
- name: str
162
- """
163
- The name of this item. e.g. scf_accuracy
164
- """
165
-
166
-
167
- class StatusTrackItem(BaseModel):
168
- trackedAt: float
169
- status: str
170
- repetition: Optional[float] = None
171
-
172
-
173
- class DataIOUnitSchema(BaseModel):
174
- model_config = ConfigDict(
175
- extra="allow",
176
- )
177
- type: Type
178
- """
179
- type of the unit
180
- """
181
- subtype: Subtype
182
- source: Source
183
- input: List[
184
- Union[
185
- DataIORestAPIInputSchema,
186
- Union[DataIODatabaseInputOutputSchema, DataIODatabaseInputOutputSchema3],
187
- ObjectStorageIoSchema,
188
- ]
189
- ]
190
- field_id: Optional[str] = Field(None, alias="_id")
191
- """
192
- entity identity
193
- """
194
- isDraft: Optional[bool] = None
195
- name: Optional[str] = None
196
- """
197
- name of the unit. e.g. pw_scf
198
- """
199
- status: Optional[Status] = None
200
- """
201
- Status of the unit.
202
- """
203
- head: Optional[bool] = None
204
- """
205
- Whether this unit is the first one to be executed.
206
- """
207
- flowchartId: str
208
- """
209
- Identity of the unit in the workflow. Used to trace the execution flow of the workflow.
210
- """
211
- next: Optional[str] = None
212
- """
213
- Next unit's flowchartId. If empty, the current unit is the last.
214
- """
215
- enableRender: Optional[bool] = None
216
- """
217
- Whether Rupy should attempt to use Jinja templating to add context variables into the unit
218
- """
219
- context: Optional[Dict[str, Any]] = None
220
- slug: Optional[str] = None
221
- """
222
- entity slug
223
- """
224
- systemName: Optional[str] = None
225
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
226
- schemaVersion: Optional[str] = "2022.8.16"
227
- """
228
- entity's schema version. Used to distinct between different schemas.
229
- """
230
- isDefault: Optional[bool] = False
231
- """
232
- Identifies that entity is defaultable
233
- """
234
- preProcessors: Optional[List[Union[NameResultSchema, str]]] = None
235
- """
236
- names of the pre-processors for this calculation
237
- """
238
- postProcessors: Optional[List[Union[NameResultSchema, str]]] = None
239
- """
240
- names of the post-processors for this calculation
241
- """
242
- monitors: Optional[List[Union[NameResultSchema, str]]] = None
243
- """
244
- names of the monitors for this calculation
245
- """
246
- results: Optional[List[Union[NameResultSchema, str]]] = None
247
- """
248
- names of the results for this calculation
249
- """
250
- tags: Optional[List[str]] = None
251
- """
252
- entity tags
253
- """
254
- statusTrack: Optional[List[StatusTrackItem]] = None
@@ -1,27 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: workflow/unit/io/api.json
3
- # version: 0.25.5
4
-
5
- from __future__ import annotations
6
-
7
- from typing import Any, Dict, Optional
8
-
9
- from pydantic import BaseModel, ConfigDict
10
-
11
-
12
- class DataIORestAPIInputSchema(BaseModel):
13
- model_config = ConfigDict(
14
- extra="allow",
15
- )
16
- endpoint: str
17
- """
18
- rest API endpoint
19
- """
20
- endpoint_options: Dict[str, Any]
21
- """
22
- rest API endpoint options
23
- """
24
- name: Optional[str] = None
25
- """
26
- the name of the variable in local scope to save the data under
27
- """
@@ -1,39 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: workflow/unit/io/db.json
3
- # version: 0.25.5
4
-
5
- from __future__ import annotations
6
-
7
- from typing import List, Union
8
-
9
- from pydantic import BaseModel, ConfigDict, Field, RootModel
10
-
11
-
12
- class DataIODatabaseInputOutputSchema(BaseModel):
13
- model_config = ConfigDict(
14
- extra="allow",
15
- )
16
- ids: List[str]
17
- """
18
- IDs of item to retrieve from db
19
- """
20
-
21
-
22
- class DataIODatabaseInputOutputSchema1(BaseModel):
23
- model_config = ConfigDict(
24
- extra="allow",
25
- )
26
- collection: str
27
- """
28
- db collection name
29
- """
30
- draft: bool
31
- """
32
- whether the result should be saved as draft
33
- """
34
-
35
-
36
- class ESSE(RootModel[Union[DataIODatabaseInputOutputSchema, DataIODatabaseInputOutputSchema1]]):
37
- root: Union[DataIODatabaseInputOutputSchema, DataIODatabaseInputOutputSchema1] = Field(
38
- ..., title="data IO database input/output schema"
39
- )
@@ -1,59 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: workflow/unit/io/object_storage.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, Field
10
-
11
-
12
- class ObjectStorageContainerData(BaseModel):
13
- CONTAINER: Optional[str] = None
14
- """
15
- Object storage container for the file
16
- """
17
- NAME: Optional[str] = None
18
- """
19
- Name of the file inside the object storage bucket
20
- """
21
- PROVIDER: Optional[str] = None
22
- """
23
- Object storage provider
24
- """
25
- REGION: Optional[str] = None
26
- """
27
- Region for the object container specified in Container
28
- """
29
- SIZE: Optional[int] = None
30
- """
31
- Size of the file in bytes
32
- """
33
- TIMESTAMP: Optional[str] = None
34
- """
35
- Unix timestamp showing when the file was last modified
36
- """
37
-
38
-
39
- class ObjectStorageIoSchema(BaseModel):
40
- model_config = ConfigDict(
41
- extra="allow",
42
- )
43
- objectData: ObjectStorageContainerData = Field(..., title="Object Storage Container Data")
44
- overwrite: Optional[bool] = False
45
- """
46
- if a file with the same filename already exists, whether to overwrite the old file
47
- """
48
- pathname: Optional[str] = None
49
- """
50
- Relative path to the directory that contains the file.
51
- """
52
- basename: Optional[str] = None
53
- """
54
- Basename of the file
55
- """
56
- filetype: Optional[str] = None
57
- """
58
- What kind of file this is, e.g. image / text
59
- """
@@ -1,169 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: workflow/unit/map.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
- map = "map"
15
-
16
-
17
- class Input(BaseModel):
18
- target: str
19
- """
20
- Name of the target variable to substitute using the values below. e.g. K_POINTS
21
- """
22
- scope: Optional[str] = None
23
- """
24
- Scope to retrieve `values` from, global or flowchartId. Optional if `values` is given.
25
- """
26
- name: Optional[str] = None
27
- """
28
- Name of the variable inside the scope to retrieve `values` from. Optional if `values` is given.
29
- """
30
- values: Optional[List[Union[str, float, Dict[str, Any]]]] = None
31
- """
32
- Sequence of values for the target Jinja variable. Optional if `scope` and `name` are given. This can be used for map-reduce type parallel execution
33
- """
34
- useValues: Optional[bool] = None
35
-
36
-
37
- class Status(Enum):
38
- idle = "idle"
39
- active = "active"
40
- warning = "warning"
41
- error = "error"
42
- finished = "finished"
43
-
44
-
45
- class Name(Enum):
46
- default = "default"
47
- atomsTooClose = "atomsTooClose"
48
- atomsOverlap = "atomsOverlap"
49
-
50
-
51
- class Severity(Enum):
52
- info = "info"
53
- warning = "warning"
54
- error = "error"
55
-
56
-
57
- class ConsistencyCheck(BaseModel):
58
- key: str
59
- """
60
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
61
- """
62
- name: Name
63
- """
64
- Name of the consistency check that is performed, which is listed in an enum.
65
- """
66
- severity: Severity
67
- """
68
- Severity level of the problem, which is used in UI to differentiate.
69
- """
70
- message: str
71
- """
72
- Message generated by the consistency check describing the problem.
73
- """
74
-
75
-
76
- class NameResultSchema(BaseModel):
77
- name: str
78
- """
79
- The name of this item. e.g. scf_accuracy
80
- """
81
-
82
-
83
- class StatusTrackItem(BaseModel):
84
- trackedAt: float
85
- status: str
86
- repetition: Optional[float] = None
87
-
88
-
89
- class MapUnitSchema(BaseModel):
90
- model_config = ConfigDict(
91
- extra="allow",
92
- )
93
- type: Type
94
- """
95
- type of the unit
96
- """
97
- workflowId: str
98
- """
99
- Id of workflow to run inside map
100
- """
101
- input: Input
102
- """
103
- Input information for map.
104
- """
105
- field_id: Optional[str] = Field(None, alias="_id")
106
- """
107
- entity identity
108
- """
109
- isDraft: Optional[bool] = None
110
- name: Optional[str] = None
111
- """
112
- name of the unit. e.g. pw_scf
113
- """
114
- status: Optional[Status] = None
115
- """
116
- Status of the unit.
117
- """
118
- head: Optional[bool] = None
119
- """
120
- Whether this unit is the first one to be executed.
121
- """
122
- flowchartId: str
123
- """
124
- Identity of the unit in the workflow. Used to trace the execution flow of the workflow.
125
- """
126
- next: Optional[str] = None
127
- """
128
- Next unit's flowchartId. If empty, the current unit is the last.
129
- """
130
- enableRender: Optional[bool] = None
131
- """
132
- Whether Rupy should attempt to use Jinja templating to add context variables into the unit
133
- """
134
- context: Optional[Dict[str, Any]] = None
135
- slug: Optional[str] = None
136
- """
137
- entity slug
138
- """
139
- systemName: Optional[str] = None
140
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
141
- schemaVersion: Optional[str] = "2022.8.16"
142
- """
143
- entity's schema version. Used to distinct between different schemas.
144
- """
145
- isDefault: Optional[bool] = False
146
- """
147
- Identifies that entity is defaultable
148
- """
149
- preProcessors: Optional[List[Union[NameResultSchema, str]]] = None
150
- """
151
- names of the pre-processors for this calculation
152
- """
153
- postProcessors: Optional[List[Union[NameResultSchema, str]]] = None
154
- """
155
- names of the post-processors for this calculation
156
- """
157
- monitors: Optional[List[Union[NameResultSchema, str]]] = None
158
- """
159
- names of the monitors for this calculation
160
- """
161
- results: Optional[List[Union[NameResultSchema, str]]] = None
162
- """
163
- names of the results for this calculation
164
- """
165
- tags: Optional[List[str]] = None
166
- """
167
- entity tags
168
- """
169
- statusTrack: Optional[List[StatusTrackItem]] = None
@@ -1,153 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: workflow/unit/processing.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
- processing = "processing"
15
-
16
-
17
- class Status(Enum):
18
- idle = "idle"
19
- active = "active"
20
- warning = "warning"
21
- error = "error"
22
- finished = "finished"
23
-
24
-
25
- class Name(Enum):
26
- default = "default"
27
- atomsTooClose = "atomsTooClose"
28
- atomsOverlap = "atomsOverlap"
29
-
30
-
31
- class Severity(Enum):
32
- info = "info"
33
- warning = "warning"
34
- error = "error"
35
-
36
-
37
- class ConsistencyCheck(BaseModel):
38
- key: str
39
- """
40
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
41
- """
42
- name: Name
43
- """
44
- Name of the consistency check that is performed, which is listed in an enum.
45
- """
46
- severity: Severity
47
- """
48
- Severity level of the problem, which is used in UI to differentiate.
49
- """
50
- message: str
51
- """
52
- Message generated by the consistency check describing the problem.
53
- """
54
-
55
-
56
- class NameResultSchema(BaseModel):
57
- name: str
58
- """
59
- The name of this item. e.g. scf_accuracy
60
- """
61
-
62
-
63
- class StatusTrackItem(BaseModel):
64
- trackedAt: float
65
- status: str
66
- repetition: Optional[float] = None
67
-
68
-
69
- class ProcessingUnitSchema(BaseModel):
70
- model_config = ConfigDict(
71
- extra="allow",
72
- )
73
- type: Type
74
- """
75
- type of the unit
76
- """
77
- operation: str
78
- """
79
- Contains information about the operation used.
80
- """
81
- operationType: str
82
- """
83
- Contains information about the specific type of the operation used.
84
- """
85
- inputData: Any
86
- """
87
- unit input (type to be specified by the child units)
88
- """
89
- field_id: Optional[str] = Field(None, alias="_id")
90
- """
91
- entity identity
92
- """
93
- isDraft: Optional[bool] = None
94
- name: Optional[str] = None
95
- """
96
- name of the unit. e.g. pw_scf
97
- """
98
- status: Optional[Status] = None
99
- """
100
- Status of the unit.
101
- """
102
- head: Optional[bool] = None
103
- """
104
- Whether this unit is the first one to be executed.
105
- """
106
- flowchartId: str
107
- """
108
- Identity of the unit in the workflow. Used to trace the execution flow of the workflow.
109
- """
110
- next: Optional[str] = None
111
- """
112
- Next unit's flowchartId. If empty, the current unit is the last.
113
- """
114
- enableRender: Optional[bool] = None
115
- """
116
- Whether Rupy should attempt to use Jinja templating to add context variables into the unit
117
- """
118
- context: Optional[Dict[str, Any]] = None
119
- slug: Optional[str] = None
120
- """
121
- entity slug
122
- """
123
- systemName: Optional[str] = None
124
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
125
- schemaVersion: Optional[str] = "2022.8.16"
126
- """
127
- entity's schema version. Used to distinct between different schemas.
128
- """
129
- isDefault: Optional[bool] = False
130
- """
131
- Identifies that entity is defaultable
132
- """
133
- preProcessors: Optional[List[Union[NameResultSchema, str]]] = None
134
- """
135
- names of the pre-processors for this calculation
136
- """
137
- postProcessors: Optional[List[Union[NameResultSchema, str]]] = None
138
- """
139
- names of the post-processors for this calculation
140
- """
141
- monitors: Optional[List[Union[NameResultSchema, str]]] = None
142
- """
143
- names of the monitors for this calculation
144
- """
145
- results: Optional[List[Union[NameResultSchema, str]]] = None
146
- """
147
- names of the results for this calculation
148
- """
149
- tags: Optional[List[str]] = None
150
- """
151
- entity tags
152
- """
153
- statusTrack: Optional[List[StatusTrackItem]] = None