chemparseplot 1.14.1__tar.gz → 1.15.0__tar.gz

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 (227) hide show
  1. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/.gitignore +1 -1
  2. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/PKG-INFO +117 -48
  3. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/__init__.py +12 -1
  4. {chemparseplot-1.14.1 → chemparseplot-1.15.0/chemparseplot}/_version.py +2 -2
  5. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/api.py +89 -19
  6. chemparseplot-1.15.0/chemparseplot/basetypes.py +90 -0
  7. chemparseplot-1.15.0/chemparseplot/parse/con/__init__.py +72 -0
  8. chemparseplot-1.15.0/chemparseplot/parse/con/chemfiles.py +73 -0
  9. chemparseplot-1.15.0/chemparseplot/parse/con/io.py +53 -0
  10. chemparseplot-1.15.0/chemparseplot/parse/con/trajectory.py +244 -0
  11. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/con_io.py +174 -2
  12. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/saddle_search.py +2 -2
  13. chemparseplot-1.15.0/chemparseplot/parse/orca/freq.py +228 -0
  14. chemparseplot-1.15.0/chemparseplot/parse/orca/hessian.py +93 -0
  15. chemparseplot-1.15.0/chemparseplot/parse/orca/migration.py +65 -0
  16. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/orca/neb/interp.py +1 -1
  17. chemparseplot-1.15.0/chemparseplot/parse/orca/populations.py +174 -0
  18. chemparseplot-1.15.0/chemparseplot/parse/orca/vpt2.py +84 -0
  19. chemparseplot-1.15.0/chemparseplot/parse/qmcpack/__init__.py +46 -0
  20. chemparseplot-1.15.0/chemparseplot/parse/qmcpack/blocking.py +156 -0
  21. chemparseplot-1.15.0/chemparseplot/parse/qmcpack/records.py +242 -0
  22. chemparseplot-1.15.0/chemparseplot/parse/qmcpack/scalars.py +176 -0
  23. chemparseplot-1.15.0/chemparseplot/parse/qmcpack/timers.py +296 -0
  24. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/sella/saddle_search.py +2 -2
  25. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/surrogate/gpr_optim.py +73 -30
  26. chemparseplot-1.15.0/chemparseplot/parse/trajectory/band_h5.py +878 -0
  27. chemparseplot-1.15.0/chemparseplot/parse/trajectory/hdf5.py +527 -0
  28. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/trajectory/neb.py +40 -1
  29. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/__init__.py +1 -0
  30. chemparseplot-1.15.0/chemparseplot/plot/con.py +392 -0
  31. chemparseplot-1.15.0/chemparseplot/plot/evaluation_costs.py +129 -0
  32. chemparseplot-1.15.0/chemparseplot/plot/kinetics.py +92 -0
  33. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/neb.py +93 -44
  34. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/palette.py +49 -0
  35. chemparseplot-1.15.0/chemparseplot/plot/qmcpack.py +703 -0
  36. chemparseplot-1.15.0/chemparseplot/plot/render.py +1210 -0
  37. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/surrogate.py +94 -28
  38. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/theme.py +4 -0
  39. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/pyproject.toml +13 -5
  40. chemparseplot-1.15.0/readme.md +213 -0
  41. chemparseplot-1.15.0/tests/fixtures/orca/ir_spectrum_h2o.out +26 -0
  42. chemparseplot-1.15.0/tests/fixtures/orca/mulliken_loewdin.out +21 -0
  43. chemparseplot-1.15.0/tests/fixtures/orca/vib_freq_h2o.out +26 -0
  44. chemparseplot-1.15.0/tests/fixtures/orca/vpt2_fundamentals.out +18 -0
  45. chemparseplot-1.15.0/tests/fixtures/qmcpack/acforce_vmc_timers.out +8 -0
  46. chemparseplot-1.15.0/tests/fixtures/qmcpack/dmc.s001.scalar.dat +17 -0
  47. chemparseplot-1.15.0/tests/fixtures/qmcpack/h4_hybrid_timers.out +10 -0
  48. chemparseplot-1.15.0/tests/fixtures/qmcpack/ts-h2o.s001.dmc.dat +33 -0
  49. chemparseplot-1.15.0/tests/fixtures/qmcpack/vmc.info.xml +44 -0
  50. chemparseplot-1.15.0/tests/parse/con/test_chemfiles.py +83 -0
  51. chemparseplot-1.15.0/tests/parse/con/test_trajectory.py +143 -0
  52. chemparseplot-1.15.0/tests/parse/orca/test_freq_vpt2_populations.py +561 -0
  53. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/orca/test_interp.py +1 -2
  54. chemparseplot-1.15.0/tests/parse/qmcpack/test_qmcpack_blocking.py +119 -0
  55. chemparseplot-1.15.0/tests/parse/qmcpack/test_qmcpack_records.py +177 -0
  56. chemparseplot-1.15.0/tests/parse/qmcpack/test_qmcpack_scalars.py +131 -0
  57. chemparseplot-1.15.0/tests/parse/qmcpack/test_qmcpack_timers.py +189 -0
  58. chemparseplot-1.15.0/tests/parse/test_band_h5.py +600 -0
  59. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_sella_saddle.py +1 -1
  60. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_surrogate_gpr_optim.py +38 -0
  61. chemparseplot-1.15.0/tests/parse/test_trajectory_hdf5_gpridge.py +152 -0
  62. chemparseplot-1.15.0/tests/plot/test_con_plot.py +138 -0
  63. chemparseplot-1.15.0/tests/plot/test_kinetics_reference.py +39 -0
  64. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_palette.py +48 -0
  65. chemparseplot-1.15.0/tests/plot/test_qmcpack_plots.py +334 -0
  66. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_strip_rendering.py +121 -0
  67. chemparseplot-1.15.0/tests/plot/test_structure_render.py +673 -0
  68. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_surrogate_plots.py +42 -3
  69. chemparseplot-1.15.0/tests/test_basetypes.py +27 -0
  70. chemparseplot-1.15.0/tests/test_check_version.py +248 -0
  71. chemparseplot-1.15.0/tests/test_public_api.py +312 -0
  72. chemparseplot-1.15.0/tests/test_version.py +35 -0
  73. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/tutorials/test_chemparseplot.py +1 -2
  74. chemparseplot-1.14.1/chemparseplot/parse/trajectory/hdf5.py +0 -308
  75. chemparseplot-1.14.1/chemparseplot/plot/con.py +0 -186
  76. chemparseplot-1.14.1/readme.md +0 -148
  77. chemparseplot-1.14.1/tests/test_public_api.py +0 -72
  78. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/LICENSE +0 -0
  79. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/contracts/__init__.py +0 -0
  80. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/contracts/load_outcome.py +0 -0
  81. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/__init__.py +0 -0
  82. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/benchmark.py +0 -0
  83. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/chemgp_hdf5.py +0 -0
  84. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/chemgp_jsonl.py +0 -0
  85. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/converter.py +0 -0
  86. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/__init__.py +0 -0
  87. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/_trajectory_common.py +0 -0
  88. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/con_trajectory.py +0 -0
  89. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/dimer_trajectory.py +0 -0
  90. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/frame_series.py +0 -0
  91. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/gprd.py +0 -0
  92. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/min_trajectory.py +0 -0
  93. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/minimization.py +0 -0
  94. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/neb.py +0 -0
  95. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/eon/stitch.py +0 -0
  96. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/file_.py +0 -0
  97. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/grammar/__init__.py +0 -0
  98. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/grammar/_deps.py +0 -0
  99. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/grammar/orca_text.py +0 -0
  100. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/grammar/xyz.py +0 -0
  101. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/mlneb.py +0 -0
  102. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/neb_utils.py +0 -0
  103. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/orca/__init__.py +0 -0
  104. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/orca/_opi.py +0 -0
  105. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/orca/geomscan.py +0 -0
  106. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/orca/neb/__init__.py +0 -0
  107. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/orca/neb/opi_parser.py +0 -0
  108. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/patterns.py +0 -0
  109. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/plumed.py +0 -0
  110. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/projection.py +0 -0
  111. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/surrogate/__init__.py +0 -0
  112. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/surrogate/cases.py +0 -0
  113. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/surrogate/mlneb.py +0 -0
  114. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/surrogate/model.py +0 -0
  115. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/trajectory/__init__.py +0 -0
  116. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/parse/types.py +0 -0
  117. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/benchmark.py +0 -0
  118. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/chemgp.py +0 -0
  119. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/disconnectivity.py +0 -0
  120. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/geomscan.py +0 -0
  121. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/journal.py +0 -0
  122. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/landscape.py +0 -0
  123. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/mlneb.py +0 -0
  124. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/optimization.py +0 -0
  125. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/plumed.py +0 -0
  126. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/provenance.py +0 -0
  127. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/reaction.py +0 -0
  128. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/rings.py +0 -0
  129. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/plot/structs.py +0 -0
  130. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/units.py +0 -0
  131. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/chemparseplot/util.py +0 -0
  132. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/__init__.py +0 -0
  133. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/_optional_imports.py +0 -0
  134. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/conftest.py +0 -0
  135. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/h2mol.xyz +0 -0
  136. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/orca_energy_coords_snippet.out +0 -0
  137. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/restart_exact.con +0 -0
  138. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/restart_exact_vel.con +0 -0
  139. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/cases/baselines.csv +0 -0
  140. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/cases/cases.csv +0 -0
  141. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/mlneb/evaluated.traj +0 -0
  142. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/mlneb/ml_summary.txt +0 -0
  143. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/mlneb/ml_time.txt +0 -0
  144. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/mlneb/predicted.traj +0 -0
  145. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/baker/25_hcnh2/band/band.h5 +0 -0
  146. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/baker/25_hcnh2/band/obs-archive/kernel.txt +0 -0
  147. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/baker/25_hcnh2/result.json +0 -0
  148. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/baker/25_hcnh2/saddle/pos.con +0 -0
  149. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/birkholz/16_oxirane/result.json +0 -0
  150. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/birkholz/16_oxirane/saddle/mlflow.run.json +0 -0
  151. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/mlruns/606078088088587/7eaf5653201fe6b92f3e3831bead3063/metrics/dimer.curvature +0 -0
  152. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/mlruns/606078088088587/7eaf5653201fe6b92f3e3831bead3063/metrics/dimer.force +0 -0
  153. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/mlruns/606078088088587/7eaf5653201fe6b92f3e3831bead3063/metrics/dimer.measured_curvature +0 -0
  154. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/mlruns/606078088088587/7eaf5653201fe6b92f3e3831bead3063/metrics/dimer.oracle_calls +0 -0
  155. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/record/mlruns/606078088088587/7eaf5653201fe6b92f3e3831bead3063/metrics/dimer.surrogate_curvature +0 -0
  156. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/scaling/breakdown.csv +0 -0
  157. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/scaling/components.csv +0 -0
  158. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/scaling/counts.csv +0 -0
  159. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/scaling/pop.csv +0 -0
  160. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures/surrogate/scaling/wall.csv +0 -0
  161. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/fixtures_geomscan_snippet.txt +0 -0
  162. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/__init__.py +0 -0
  163. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/_con_fixtures.py +0 -0
  164. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/grammar/__init__.py +0 -0
  165. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/grammar/test_grammar_deps.py +0 -0
  166. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/grammar/test_orca_text_grammar.py +0 -0
  167. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/grammar/test_xyz_grammar.py +0 -0
  168. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/orca/test_geomscan.py +0 -0
  169. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_chemgp_hdf5.py +0 -0
  170. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_chemgp_jsonl_types.py +0 -0
  171. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_con_io.py +0 -0
  172. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_con_trajectory.py +0 -0
  173. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_con_units_and_corpus.py +0 -0
  174. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_converter.py +0 -0
  175. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_dimer_trajectory.py +0 -0
  176. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_eon_neb_types.py +0 -0
  177. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_eon_trajectory_common.py +0 -0
  178. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_frame_series.py +0 -0
  179. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_min_trajectory.py +0 -0
  180. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_minimization_result.py +0 -0
  181. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_neb_stitch.py +0 -0
  182. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_neb_utils.py +0 -0
  183. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_orca_public_api.py +0 -0
  184. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_parser_types.py +0 -0
  185. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_patterns.py +0 -0
  186. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_plumed.py +0 -0
  187. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_projection.py +0 -0
  188. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_readcon_boundary.py +0 -0
  189. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_saddle_results.py +0 -0
  190. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_surrogate_mlneb.py +0 -0
  191. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_trajectory_hdf5.py +0 -0
  192. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/parse/test_trajectory_neb.py +0 -0
  193. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/__init__.py +0 -0
  194. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/au_al100.json +0 -0
  195. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/au_al100.py +0 -0
  196. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/figures/convergence.png +0 -0
  197. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/figures/energy_landscape.png +0 -0
  198. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/figures/neb_profile.png +0 -0
  199. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/figures/neb_profile_history.png +0 -0
  200. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/figures/relative_error.png +0 -0
  201. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/figures/versions.json +0 -0
  202. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/data/sexithiophene.sdf +0 -0
  203. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_benchmark.py +0 -0
  204. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_chemgp_imports.py +0 -0
  205. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_chemgp_utils.py +0 -0
  206. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_figure_images.py +0 -0
  207. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_journal.py +0 -0
  208. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_journal_plots.py +0 -0
  209. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_landscape_disconnectivity.py +0 -0
  210. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_mlneb.py +0 -0
  211. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_neb_helpers.py +0 -0
  212. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_neb_renderers.py +0 -0
  213. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_optimization.py +0 -0
  214. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_orca_neb_payload.py +0 -0
  215. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_primitive_rings.py +0 -0
  216. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_projection_refactor.py +0 -0
  217. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_provenance.py +0 -0
  218. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_reaction.py +0 -0
  219. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_ring_track.py +0 -0
  220. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_ring_updater.py +0 -0
  221. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_structs_units.py +0 -0
  222. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_surface_auto_thin.py +0 -0
  223. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/plot/test_theme.py +0 -0
  224. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/test_coverage_batch.py +0 -0
  225. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/test_full_coverage.py +0 -0
  226. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/test_load_outcome.py +0 -0
  227. {chemparseplot-1.14.1 → chemparseplot-1.15.0}/tests/tutorials/test_journal_figure.py +0 -0
@@ -168,7 +168,7 @@ cython_debug/
168
168
  # and can be added to the global gitignore or merged into this file. For a more nuclear
169
169
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
170
170
  #.idea/
171
- /_version.py
171
+ /chemparseplot/_version.py
172
172
  /.pdm-python
173
173
  *.ipynb
174
174
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: chemparseplot
3
- Version: 1.14.1
3
+ Version: 1.15.0
4
4
  Summary: Parsers and plotting tools for computational chemistry
5
5
  Project-URL: Documentation, https://chemparseplot.rgoswami.me
6
6
  Project-URL: Issues, https://github.com/HaoZeke/chemparseplot/issues
@@ -31,6 +31,7 @@ Requires-Dist: pydseamslib>=2.11.1; extra == 'all'
31
31
  Requires-Dist: readcon-db>=0.2.0; extra == 'all'
32
32
  Requires-Dist: readcon>=0.17.1; extra == 'all'
33
33
  Requires-Dist: resvg-py>=0.5.0; extra == 'all'
34
+ Requires-Dist: solvis-tools>=0.1.5; extra == 'all'
34
35
  Requires-Dist: xyzrender>=0.3.8; extra == 'all'
35
36
  Provides-Extra: doc
36
37
  Requires-Dist: mdit-py-plugins>=0.3.4; extra == 'doc'
@@ -68,6 +69,8 @@ Requires-Dist: wheel>=0.40; extra == 'release'
68
69
  Provides-Extra: rings
69
70
  Requires-Dist: pydseamslib>=2.11.1; extra == 'rings'
70
71
  Requires-Dist: xyzrender>=0.3.8; extra == 'rings'
72
+ Provides-Extra: solvis
73
+ Requires-Dist: solvis-tools>=0.1.5; extra == 'solvis'
71
74
  Provides-Extra: test
72
75
  Requires-Dist: ase>=3.22; extra == 'test'
73
76
  Requires-Dist: h5py>=3.0; extra == 'test'
@@ -82,44 +85,54 @@ Requires-Dist: readcon-db>=0.2.0; extra == 'test'
82
85
  Requires-Dist: readcon>=0.17.1; extra == 'test'
83
86
  Requires-Dist: rgpycrumbs; extra == 'test'
84
87
  Requires-Dist: scipy>=1.11; extra == 'test'
88
+ Requires-Dist: solvis-tools>=0.1.5; extra == 'test'
85
89
  Requires-Dist: xyzrender>=0.3.8; extra == 'test'
86
90
  Provides-Extra: xyzrender
87
91
  Requires-Dist: resvg-py>=0.5.0; extra == 'xyzrender'
88
92
  Requires-Dist: xyzrender>=0.3.8; extra == 'xyzrender'
89
93
  Description-Content-Type: text/markdown
90
94
 
95
+ > Canonical source note: this Org file is authoritative for contributor-facing documentation.
96
+ > Rendered Markdown files are derived artifacts and should not be edited separately.
97
+
98
+ Parses computational chemistry outputs (ORCA, eOn, Sella, ChemGP, PLUMED) into unit-aware Python objects and plots NEB paths, energy profiles and surfaces.
91
99
 
92
- # Table of Contents
93
100
 
94
- - [About](#org69d0d18)
95
- - [Installation](#org6425b9a)
96
- - [Ecosystem Overview](#org7717c22)
97
- - [Features](#org7ec2e1c)
98
- - [Supported Engines](#org3c6cfc2)
99
- - [Documentation](#org7d2bbf4)
100
- - [Contributing](#orgc77604d)
101
- - [License](#org8180f68)
102
- - [Acknowledgments](#org7ebb45c)
101
+ # Table of Contents
103
102
 
103
+ - [About](#org4224b2b)
104
+ - [Installation](#orgd9743f9)
105
+ - [Ecosystem Overview](#org0f273ae)
106
+ - [Features](#orged1911e)
107
+ - [Supported Engines](#org2df9da1)
108
+ - [Documentation](#orga04ba1a)
109
+ - [Contributing](#org2b9d619)
110
+ - [Release Process](#org123fb6a)
111
+ - [License](#org2cd1740)
112
+ - [Acknowledgments](#org59d25de)
104
113
 
105
114
 
106
- <a id="org69d0d18"></a>
115
+ <a id="org4224b2b"></a>
107
116
 
108
117
  # About
109
118
 
110
119
  ![img](branding/logo/chemparseplot_logo.png)
111
120
 
112
- [![Tests](https://github.com/HaoZeke/chemparseplot/actions/workflows/build_test.yml/badge.svg)](https://github.com/HaoZeke/chemparseplot/actions/workflows/build_test.yml) [![Linting](https://github.com/HaoZeke/chemparseplot/actions/workflows/ci_prek.yml/badge.svg)](https://github.com/HaoZeke/chemparseplot/actions/workflows/ci_prek.yml) [![Docs](https://github.com/HaoZeke/chemparseplot/actions/workflows/build_docs.yml/badge.svg)](https://github.com/HaoZeke/chemparseplot/actions/workflows/build_docs.yml) [![PyPI](https://img.shields.io/pypi/v/chemparseplot)](https://pypi.org/project/chemparseplot/) [![Python](https://img.shields.io/pypi/pyversions/chemparseplot)](https://pypi.org/project/chemparseplot/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![One Good Tutorial docs checklist v1: adopted](https://onegoodtutorial.org/badge/adopted-v1.svg)](https://onegoodtutorial.org/about/badge/?v=1) [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) [![DOI](https://zenodo.org/badge/725730118.svg)](https://doi.org/10.5281/zenodo.18529752)
121
+ [![Tests](https://github.com/HaoZeke/chemparseplot/actions/workflows/build_test.yml/badge.svg)](https://github.com/HaoZeke/chemparseplot/actions/workflows/build_test.yml) [![Linting](https://github.com/HaoZeke/chemparseplot/actions/workflows/ci_prek.yml/badge.svg)](https://github.com/HaoZeke/chemparseplot/actions/workflows/ci_prek.yml) [![Docs](https://github.com/HaoZeke/chemparseplot/actions/workflows/build_docs.yml/badge.svg)](https://github.com/HaoZeke/chemparseplot/actions/workflows/build_docs.yml) [![PyPI](https://img.shields.io/pypi/v/chemparseplot)](https://pypi.org/project/chemparseplot/) [![Python](https://img.shields.io/pypi/pyversions/chemparseplot)](https://pypi.org/project/chemparseplot/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![One Good Tutorial docs checklist v1: adopted](https://onegoodtutorial.org/badge/adopted-v1.svg)](https://onegoodtutorial.org/about/badge/?v=1) [![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-blueviolet.svg)](https://github.com/pypa/hatch) [![DOI](https://zenodo.org/badge/725730118.svg)](https://doi.org/10.5281/zenodo.18529752)
113
122
 
114
- A **pure-python**<sup><a id="fnr.butwhy" class="footref" href="#fn.butwhy" role="doc-backlink">1</a></sup> parsing and plotting library for computational chemistry outputs.
123
+ A **pure-python**<sup><a id="fnr.1" class="footref" href="#fn.1" role="doc-backlink">1</a></sup> parsing and plotting library for computational chemistry outputs.
115
124
  `chemparseplot` extracts structured data from the output of the quantum chemistry program (ORCA), eOn, Sella and ChemGP.
116
125
  It produces publication-quality, unit-aware visualizations with [scientific color maps](https://www.fabiocrameri.ch/colourmaps/).
117
126
 
118
- Computational tasks (surface fitting, structure analysis, interpolation) are handled by [`rgpycrumbs`](https://github.com/HaoZeke/rgpycrumbs), which is a required dependency.
119
- `chemparseplot` parses output files, delegates heavy computation to `rgpycrumbs`, and produces publication-quality plots.
127
+ Computational tasks (surface fitting, structure analysis, interpolation) are
128
+ **optionally** delegated to [`rgpycrumbs`](https://github.com/HaoZeke/rgpycrumbs)
129
+ (suite hub / compute). Hard install dependencies are only `numpy` and `pint`;
130
+ plot/NEB/grammar stacks are extras or host-provided. `chemparseplot` parses
131
+ output files and produces unit-aware plots; heavy compute stays optional so
132
+ packages remain lightweight (CLI isolation: PEP 723 + uv; library: `ensure_import`).
120
133
 
121
134
 
122
- <a id="org6425b9a"></a>
135
+ <a id="orgd9743f9"></a>
123
136
 
124
137
  ## Installation
125
138
 
@@ -150,61 +163,66 @@ For development:
150
163
  See the [installation guide](https://chemparseplot.rgoswami.me/installation.html) and [quickstart](https://chemparseplot.rgoswami.me/quickstart.html) for details.
151
164
 
152
165
 
153
- <a id="org7717c22"></a>
166
+ <a id="org0f273ae"></a>
154
167
 
155
168
  ## Ecosystem Overview
156
169
 
157
- `chemparseplot` is part of the `rgpycrumbs` suite of interlinked libraries.
170
+ `chemparseplot` is part of the `rgpkgs` suite of interlinked libraries (hub: `rgpycrumbs`).
171
+
172
+ - Hub / CLI: [`rgpycrumbs`](https://github.com/HaoZeke/rgpycrumbs)
173
+ - Inputs: [`pychum`](https://github.com/HaoZeke/pychum)
174
+ - CON/convel I/O: [`readcon-core`](https://github.com/lode-org/readcon-core) (PyPI: [`readcon`](https://pypi.org/project/readcon/))
175
+ - Engine: [eOn](https://eondocs.org)
158
176
 
159
177
  ![img](branding/logo/ecosystem.png)
160
178
 
161
179
 
162
- <a id="org7ec2e1c"></a>
180
+ <a id="orged1911e"></a>
163
181
 
164
182
  ## Features
165
183
 
166
- - **Parsing** computational chemistry output files into structured data.
167
- - **Plotting** with [scientific color maps](https://www.fabiocrameri.ch/colourmaps/) (camera-ready).
168
- - **Unit preserving** throughout via `pint`.
169
- - **Computation** delegated to [`rgpycrumbs`](https://github.com/HaoZeke/rgpycrumbs) for surface fitting, interpolation, and structure analysis.
170
- - **NEB stitching** (`stitch_neb_segments`) for continuous multi-segment bands (v1.8+).
171
- - **Metadata-native eOn** `.con` frames and typed parser results for NEB and single-ended tools.
172
- - **Unit-aware plot helpers** (`convert_neb_values`, shared strip rendering) used by `rgpycrumbs` CLIs.
184
+ - **Parsing** computational chemistry output files into structured data.
185
+ - **Plotting** with [scientific color maps](https://www.fabiocrameri.ch/colourmaps/) (camera-ready).
186
+ - **Unit preserving** throughout via `pint`.
187
+ - **Optional computation** via [`rgpycrumbs`](https://github.com/HaoZeke/rgpycrumbs) for surface fitting, interpolation, and structure analysis (not a hard dependency).
188
+ - **NEB stitching** (`stitch_neb_segments`) for continuous multi-segment bands across chained minimizations (v1.8+).
189
+ - **Metadata-native eOn** `.con` frames ([readcon-core](https://github.com/lode-org/readcon-core); prefer JSON metadata energies over `.dat` tables) and typed parser results for NEB and single-ended tools.
190
+ - **Unit-aware NEB/optimization plot helpers** (`convert_neb_values`, shared strip rendering) used by `rgpycrumbs` CLIs.
173
191
 
174
192
 
175
- <a id="org3c6cfc2"></a>
193
+ <a id="org2df9da1"></a>
176
194
 
177
195
  ### Supported Engines
178
196
 
179
- - ORCA (**5.x**)
180
- - Geometry scan (`OPT`) energy profiles.
181
- - Nudged elastic band (NEB) path visualization.
182
- - eOn
183
- - Saddle search parsing for the dimer and Gaussian process regression dimer (GPRD) methods, with their optimizers such as `lbfgs`.
184
- - NEB energy profiles and 2D surface projections of the path.
185
- - Sella
186
- - Saddle point optimization result parsing.
187
- - Trajectory formats
188
- - HDF5 trajectories (ChemGP output with pre-computed forces).
189
- - Generic ASE-readable formats (extxyz, .traj) for NEB analysis.
197
+ - ORCA (**5.x**)
198
+ - Geometry scan (`OPT`) energy profiles.
199
+ - Nudged elastic band (NEB) path visualization.
200
+ - eOn
201
+ - Saddle search parsing for the dimer and Gaussian process regression dimer (GPRD) methods, with their optimizers such as `lbfgs`.
202
+ - NEB energy profiles and 2D surface projections of the path.
203
+ - Sella
204
+ - Saddle point optimization result parsing.
205
+ - Trajectory formats
206
+ - HDF5 trajectories (ChemGP output with pre-computed forces).
207
+ - Generic ASE-readable formats (extxyz, .traj) for NEB analysis.
190
208
 
191
209
 
192
- <a id="org7d2bbf4"></a>
210
+ <a id="orga04ba1a"></a>
193
211
 
194
212
  ## Documentation
195
213
 
196
214
  Full documentation is at <https://chemparseplot.rgoswami.me>.
197
215
  This includes:
198
216
 
199
- - A [quickstart guide](https://chemparseplot.rgoswami.me/quickstart.html)
200
- - [Tutorials](https://chemparseplot.rgoswami.me/tutorials/index.html) for common workflows
201
- - [API reference](https://chemparseplot.rgoswami.me/apidocs/index.html)
217
+ - A [quickstart guide](https://chemparseplot.rgoswami.me/quickstart.html)
218
+ - [Tutorials](https://chemparseplot.rgoswami.me/tutorials/index.html) for common workflows
219
+ - [API reference](https://chemparseplot.rgoswami.me/apidocs/index.html)
202
220
 
203
221
  The map of the site, [llms.txt](https://chemparseplot.rgoswami.me/llms.txt), lists the pages with a line on what each covers, and [llms-full.txt](https://github.com/HaoZeke/chemparseplot/blob/main/llms-full.txt) has the manual in one Markdown file and names what it leaves out.
204
222
  [AGENTS.md](https://github.com/HaoZeke/chemparseplot/blob/main/AGENTS.md) has the build, test and documentation commands and the mistakes that are easy to make, and [skills/](https://github.com/HaoZeke/chemparseplot/tree/main/skills) has task guides whose scripts CI runs: reading an ORCA scan, adding a parser, and finding the source of a docs page.
205
223
 
206
224
 
207
- <a id="orgc77604d"></a>
225
+ <a id="org2b9d619"></a>
208
226
 
209
227
  ## Contributing
210
228
 
@@ -214,18 +232,69 @@ See [CONTRIBUTING.md](https://github.com/HaoZeke/chemparseplot/blob/main/CONTRIB
214
232
  For bug reports or questions, open an issue on [GitHub](https://github.com/HaoZeke/chemparseplot/issues).
215
233
 
216
234
 
217
- <a id="org8180f68"></a>
235
+ <a id="org123fb6a"></a>
236
+
237
+ ## Release Process
238
+
239
+ Versions are derived automatically from Git tags via `hatch-vcs`.
240
+ We keep `towncrier` for release-note aggregation and use `cocogitto` (`cog`) for the semantic version/tag step.
241
+ The actual publish step is already handled by the tag-triggered `.github/workflows/release.yml` workflow.
242
+
243
+ Run the block as one bash script, since it exits at the first failing command.
244
+
245
+ set -euo pipefail
246
+
247
+ # 1. Run the same checks the tag workflow expects
248
+ # --frozen uses uv.lock as committed and never rewrites it
249
+ uv sync --frozen --extra test --extra plot --extra release
250
+ uv run --frozen pytest --cov=chemparseplot tests
251
+ uv run --frozen ruff check .
252
+ uv run --frozen ruff format --check .
253
+ # Emacs 30 writes doc/source/index.rst. Sphinx reads that file.
254
+ (cd docs && emacs --batch --load export.el)
255
+ uv run --frozen sphinx-build doc/source/ doc/build
256
+
257
+ # 2. Preview the next semantic version from Conventional Commits
258
+ # towncrier headings use X.Y.Z, while the git tag stays vX.Y.Z
259
+ if ! NEXT="$(cog bump --dry-run --auto)"; then
260
+ echo "release: cog bump --dry-run --auto failed, stopping" >&2
261
+ exit 1
262
+ fi
263
+ if [[ ! "$NEXT" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
264
+ echo "release: cog gave '$NEXT', not vX.Y.Z, stopping" >&2
265
+ exit 1
266
+ fi
267
+ NEXT="${NEXT#v}"
268
+
269
+ # 3. Aggregate towncrier fragments into the changelog
270
+ uvx towncrier build --version "$NEXT"
271
+
272
+ # 4. Commit the release notes (historically: release: vX.Y.Z)
273
+ # towncrier stages CHANGELOG.md and git-removes the consumed fragments;
274
+ # --ignore-unmatch keeps git rm from failing once that removal is staged
275
+ git add CHANGELOG.md
276
+ git rm -r -q --ignore-unmatch doc/release/upcoming_changes
277
+ git commit -m "release: v$NEXT"
278
+
279
+ # 5. Apply the release tag (hatch-vcs reads the version from tags)
280
+ cog bump --auto
281
+
282
+ # 6. Push main and tags; CI publishes from the tag
283
+ git push origin main --tags
284
+
285
+
286
+ <a id="org2cd1740"></a>
218
287
 
219
288
  # License
220
289
 
221
290
  `chemparseplot` is released under the Massachusetts Institute of Technology (MIT) License.
222
291
  This is an academic resource, so **please cite** it as much as possible via:
223
292
 
224
- - The [Zenodo digital object identifier (DOI)](https://doi.org/10.5281/zenodo.18529752) for general use.
225
- - The `wailord` paper for ORCA usage.
293
+ - The [Zenodo digital object identifier (DOI)](https://doi.org/10.5281/zenodo.18529752) for general use.
294
+ - The `wailord` paper for ORCA usage.
226
295
 
227
296
 
228
- <a id="org7ebb45c"></a>
297
+ <a id="org59d25de"></a>
229
298
 
230
299
  # Acknowledgments
231
300
 
@@ -13,7 +13,18 @@ from __future__ import annotations
13
13
  import importlib
14
14
  from typing import TYPE_CHECKING, Any
15
15
 
16
- __all__ = ["parse", "units"]
16
+ try:
17
+ from chemparseplot._version import __version__
18
+ except ImportError:
19
+ # A source tree that hatch-vcs has not built yet has no _version.py.
20
+ from importlib.metadata import PackageNotFoundError, version
21
+
22
+ try:
23
+ __version__ = version("chemparseplot")
24
+ except PackageNotFoundError:
25
+ __version__ = "0.0.0+unknown"
26
+
27
+ __all__ = ["__version__", "parse", "units"]
17
28
 
18
29
  if TYPE_CHECKING:
19
30
  from chemparseplot import parse as parse
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '1.14.1'
22
- __version_tuple__ = version_tuple = (1, 14, 1)
21
+ __version__ = version = '1.15.0'
22
+ __version_tuple__ = version_tuple = (1, 15, 0)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -14,8 +14,7 @@ Prefer this module for new consumers (cookbooks, wailord, notebooks).
14
14
  dist_bohr, energy_Eh = extract_orca_geomscan_energy(orca_out_text, "Actual Energy")
15
15
  # dist_bohr, energy_Eh are pint Quantities (bohr, hartree)
16
16
 
17
- Heavy plot stacks still live under ``chemparseplot.plot`` (optional deps /
18
- transitional extras until suite uv design fully covers them).
17
+ Heavy plot stacks are re-exported lazily so bare installs stay light.
19
18
 
20
19
  Suite pins/config: use ``rgpycrumbs.api`` (shared rgpkgs TOML) — this package
21
20
  does **not** invent ``~/.config/chemparseplot``.
@@ -23,11 +22,13 @@ does **not** invent ``~/.config/chemparseplot``.
23
22
  .. versionadded:: 1.9.8
24
23
  .. versionchanged:: 1.9.9
25
24
  Expose ORCA geomscan energy parse as the stable library path.
25
+ .. versionchanged:: 1.9.11
26
+ Expand re-exports (SurfaceFitConfig, plot helpers, basetypes); hub suite_pins.
26
27
  """
27
28
 
28
29
  from __future__ import annotations
29
30
 
30
- from typing import TYPE_CHECKING
31
+ from typing import TYPE_CHECKING, Any
31
32
 
32
33
  from chemparseplot.parse.orca.geomscan import extract_energy_data
33
34
  from chemparseplot.units import (
@@ -42,17 +43,30 @@ if TYPE_CHECKING:
42
43
 
43
44
  __all__ = [
44
45
  "ENERGY_UNITS",
46
+ "Q_",
47
+ "SurfaceFitConfig",
48
+ "chemfiles_available",
45
49
  "convert_energy_magnitude",
46
50
  "energy_quantity",
47
51
  "extract_orca_geomscan_energy",
52
+ "frames_to_table",
48
53
  "grammar_available",
54
+ "load_con_trajectory",
49
55
  "load_trajectory",
50
56
  "normalize_energy_unit",
51
57
  "parse_orca_final_energy",
58
+ "parse_orca_ir_spectrum",
59
+ "parse_orca_populations",
60
+ "parse_orca_vibrational_frequencies",
61
+ "parse_orca_vpt2_fundamentals",
52
62
  "parse_xyz",
63
+ "plot_con_energy_profile",
53
64
  "plot_con_overlay",
54
65
  "plot_con_overview",
66
+ "plot_con_structure_strip",
67
+ "plot_landscape_surface",
55
68
  "suite_pins",
69
+ "ureg",
56
70
  ]
57
71
 
58
72
 
@@ -111,18 +125,6 @@ def extract_orca_geomscan_energy(
111
125
 
112
126
  In-process library path: text → typed ``(distance, energy)`` pint Quantities
113
127
  in Bohr and Hartree (ORCA defaults).
114
-
115
- Parameters
116
- ----------
117
- data:
118
- Blob of ORCA output containing ``Calculated Surface`` blocks.
119
- energy_type:
120
- ``\"Actual Energy\"`` or ``\"SCF energy\"`` (substring match in the block).
121
-
122
- Returns
123
- -------
124
- tuple[Q_, Q_]
125
- Distances (bohr) and energies (hartree). Empty quantities if no match.
126
128
  """
127
129
  return extract_energy_data(data, energy_type)
128
130
 
@@ -154,18 +156,86 @@ def plot_con_overlay(*args, **kwargs):
154
156
 
155
157
 
156
158
  def suite_pins() -> dict[str, str]:
157
- """Return suite package pins from rgpkgs config + env (soft on old hub).
159
+ """Return suite package pins from rgpkgs config + env (soft on old hub)."""
160
+ import importlib
158
161
 
159
- Empty dict if rgpycrumbs is missing or too old.
160
- """
161
162
  try:
162
- from rgpycrumbs.api import load_config, pins_from_env
163
+ mod = importlib.import_module("rgpycrumbs.api")
164
+ fn = getattr(mod, "suite_pins", None)
165
+ if callable(fn):
166
+ return fn()
163
167
  except ImportError:
168
+ pass
169
+ try:
170
+ mod = importlib.import_module("rgpycrumbs.api")
171
+ pins_from_env = mod.pins_from_env
172
+ load_config = mod.load_config
173
+ except (ImportError, AttributeError):
164
174
  return {}
165
175
  pins = dict(pins_from_env())
166
176
  try:
167
177
  cfg = load_config()
168
178
  pins.update(cfg.merged_package_pins_normalized())
169
179
  except Exception:
180
+ # Older hubs raise while reading a partial config. An empty pin set
181
+ # is the same result as a missing hub.
170
182
  pass
171
183
  return pins
184
+
185
+
186
+ def __getattr__(name: str) -> Any:
187
+ """Lazy optional re-exports (plot stack / units / ORCA analysis)."""
188
+ if name in {"ureg", "Q_"}:
189
+ from chemparseplot import units as _units
190
+
191
+ return getattr(_units, name)
192
+ if name == "SurfaceFitConfig":
193
+ from chemparseplot.plot.neb import SurfaceFitConfig
194
+
195
+ return SurfaceFitConfig
196
+ if name == "plot_landscape_surface":
197
+ from chemparseplot.plot.neb import plot_landscape_surface
198
+
199
+ return plot_landscape_surface
200
+ if name == "parse_orca_vibrational_frequencies":
201
+ from chemparseplot.parse.orca.freq import parse_orca_vibrational_frequencies
202
+
203
+ return parse_orca_vibrational_frequencies
204
+ if name == "parse_orca_ir_spectrum":
205
+ from chemparseplot.parse.orca.freq import parse_orca_ir_spectrum
206
+
207
+ return parse_orca_ir_spectrum
208
+ if name == "parse_orca_vpt2_fundamentals":
209
+ from chemparseplot.parse.orca.vpt2 import parse_orca_vpt2_fundamentals
210
+
211
+ return parse_orca_vpt2_fundamentals
212
+ if name == "parse_orca_populations":
213
+ from chemparseplot.parse.orca.populations import parse_orca_populations
214
+
215
+ return parse_orca_populations
216
+ if name == "load_con_trajectory":
217
+ from chemparseplot.parse.con import load_con_trajectory
218
+
219
+ return load_con_trajectory
220
+ if name == "frames_to_table":
221
+ from chemparseplot.parse.con import frames_to_table
222
+
223
+ return frames_to_table
224
+ if name == "plot_con_energy_profile":
225
+ from chemparseplot.plot.con import plot_con_energy_profile
226
+
227
+ return plot_con_energy_profile
228
+ if name == "plot_con_overview":
229
+ from chemparseplot.plot.con import plot_con_overview
230
+
231
+ return plot_con_overview
232
+ if name == "plot_con_structure_strip":
233
+ from chemparseplot.plot.con import plot_con_structure_strip
234
+
235
+ return plot_con_structure_strip
236
+ if name == "chemfiles_available":
237
+ from chemparseplot.parse.con import chemfiles_available
238
+
239
+ return chemfiles_available
240
+ msg = f"module {__name__!r} has no attribute {name!r}"
241
+ raise AttributeError(msg)
@@ -0,0 +1,90 @@
1
+ # SPDX-FileCopyrightText: 2023-present Rohit Goswami <rog32@hi.is>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ """Typed records for NEB / saddle parse results.
5
+
6
+ Canonical home for suite basetypes used by parsers and plotters. The hub
7
+ (``rgpycrumbs.basetypes``) re-exports these for compatibility.
8
+
9
+ .. versionadded:: 1.9.11
10
+ """
11
+
12
+ from __future__ import annotations
13
+
14
+ import datetime
15
+ from dataclasses import dataclass, field
16
+
17
+ import numpy as np
18
+
19
+ __all__ = [
20
+ "DimerOpt",
21
+ "MolGeom",
22
+ "SaddleMeasure",
23
+ "SpinID",
24
+ "nebiter",
25
+ "nebpath",
26
+ ]
27
+
28
+
29
+ @dataclass(frozen=True, slots=True)
30
+ class nebpath: # noqa: N801 — hub records use these names
31
+ """NEB path samples: normalized arc, arc length, energy."""
32
+
33
+ norm_dist: float
34
+ arc_dist: float
35
+ energy: float
36
+
37
+
38
+ @dataclass(frozen=True, slots=True)
39
+ class nebiter: # noqa: N801 — hub records use these names
40
+ """Typed record for one NEB iteration."""
41
+
42
+ iteration: int
43
+ nebpath: nebpath
44
+
45
+
46
+ @dataclass
47
+ class DimerOpt:
48
+ """Configuration for a dimer-based saddle point search."""
49
+
50
+ saddle: str = "dimer"
51
+ rot: str = "lbfgs"
52
+ trans: str = "lbfgs"
53
+
54
+
55
+ @dataclass
56
+ class SpinID:
57
+ """Identifier combining molecule ID and spin state."""
58
+
59
+ mol_id: int
60
+ spin: str
61
+
62
+
63
+ @dataclass
64
+ class MolGeom:
65
+ """Container for molecular geometry with energy and forces."""
66
+
67
+ pos: np.ndarray
68
+ energy: float
69
+ forces: np.ndarray
70
+
71
+
72
+ @dataclass
73
+ class SaddleMeasure:
74
+ """Aggregated measurements from a saddle point search."""
75
+
76
+ pes_calls: int = 0
77
+ iter_steps: int = 0
78
+ tot_time: float = field(default_factory=lambda: datetime.timedelta(0).total_seconds())
79
+ saddle_energy: float = np.nan
80
+ saddle_fmax: float = np.nan
81
+ success: bool = False
82
+ method: str = "not run"
83
+ dimer_rot: str = "n/a"
84
+ dimer_trans: str = "n/a"
85
+ init_energy: float = np.nan
86
+ barrier: float = np.nan
87
+ mol_id: int = np.nan
88
+ spin: str = "unknown"
89
+ scf: float = np.nan
90
+ termination_status: str = "not set"
@@ -0,0 +1,72 @@
1
+ # SPDX-FileCopyrightText: 2023-present Rohit Goswami <rog32@hi.is>
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ """General readcon-core CON/convel (+ chemfiles) integration.
5
+
6
+ This package is the suite home for **any** CON trajectory (not only eOn
7
+ job directories). eOn-specific movie/dat loaders remain under
8
+ :mod:`chemparseplot.parse.eon`; they call these helpers for I/O.
9
+
10
+ Public surface:
11
+
12
+ - I/O: :func:`read_con_frames`, :func:`read_con_as_ase`, :func:`write_con_frames`
13
+ - Tables: :func:`frames_to_table`, :func:`load_con_trajectory`, :func:`load_trajectory`
14
+ - Chemfiles: :func:`chemfiles_available`, :func:`load_chemfiles_trajectory`
15
+ - Types: :class:`ConTrajectory`
16
+
17
+ .. versionadded:: 1.9.12
18
+ """
19
+
20
+ from __future__ import annotations
21
+
22
+ from chemparseplot.parse.con.chemfiles import (
23
+ chemfiles_available,
24
+ load_chemfiles_trajectory,
25
+ read_chemfiles_frames,
26
+ )
27
+ from chemparseplot.parse.con.io import (
28
+ CON_SUFFIXES,
29
+ frame_energy_ev,
30
+ frame_positions_angstrom,
31
+ frame_with_energy,
32
+ frame_with_positions,
33
+ is_con_path,
34
+ iter_con_frames,
35
+ iter_corpus_frames,
36
+ read_con_as_ase,
37
+ read_con_frames,
38
+ read_first_atoms,
39
+ read_first_frame,
40
+ write_atoms_as_con,
41
+ write_con_frames,
42
+ )
43
+ from chemparseplot.parse.con.trajectory import (
44
+ ConTrajectory,
45
+ frames_to_table,
46
+ load_con_trajectory,
47
+ load_trajectory,
48
+ )
49
+
50
+ __all__ = [
51
+ "CON_SUFFIXES",
52
+ "ConTrajectory",
53
+ "chemfiles_available",
54
+ "frame_energy_ev",
55
+ "frame_positions_angstrom",
56
+ "frame_with_energy",
57
+ "frame_with_positions",
58
+ "frames_to_table",
59
+ "is_con_path",
60
+ "iter_con_frames",
61
+ "iter_corpus_frames",
62
+ "load_chemfiles_trajectory",
63
+ "load_con_trajectory",
64
+ "load_trajectory",
65
+ "read_chemfiles_frames",
66
+ "read_con_as_ase",
67
+ "read_con_frames",
68
+ "read_first_atoms",
69
+ "read_first_frame",
70
+ "write_atoms_as_con",
71
+ "write_con_frames",
72
+ ]