quantui 0.10.0__tar.gz → 0.13.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 (163) hide show
  1. {quantui-0.10.0 → quantui-0.13.0}/CHANGELOG.md +620 -3
  2. {quantui-0.10.0/quantui.egg-info → quantui-0.13.0}/PKG-INFO +93 -79
  3. {quantui-0.10.0 → quantui-0.13.0}/README.md +80 -47
  4. quantui-0.13.0/SECURITY.md +95 -0
  5. {quantui-0.10.0 → quantui-0.13.0}/pyproject.toml +44 -18
  6. quantui-0.13.0/quantui/__init__.py +321 -0
  7. {quantui-0.10.0 → quantui-0.13.0}/quantui/app.py +2153 -1027
  8. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_analysis.py +631 -63
  9. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_builders.py +995 -317
  10. quantui-0.13.0/quantui/app_compare_tools.py +707 -0
  11. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_exports.py +245 -62
  12. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_formatters.py +842 -191
  13. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_history.py +54 -10
  14. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_launcher.py +235 -7
  15. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_measurement.py +101 -30
  16. quantui-0.13.0/quantui/app_menubar.py +1050 -0
  17. quantui-0.13.0/quantui/app_pes2d.py +388 -0
  18. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_pes_pick.py +1 -6
  19. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_runflow.py +569 -116
  20. quantui-0.13.0/quantui/app_scf_options.py +103 -0
  21. quantui-0.13.0/quantui/app_setup_dialog.py +356 -0
  22. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_slurm.py +425 -110
  23. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_structure_edit.py +90 -19
  24. quantui-0.13.0/quantui/app_viewer.py +236 -0
  25. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_visualization.py +1143 -313
  26. quantui-0.13.0/quantui/app_workspace.py +907 -0
  27. {quantui-0.10.0 → quantui-0.13.0}/quantui/app_xyz_input.py +31 -13
  28. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/__init__.py +2 -3
  29. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/base.py +3 -3
  30. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/batch_chain.py +49 -10
  31. quantui-0.13.0/quantui/backends/batch_input.py +646 -0
  32. quantui-0.13.0/quantui/backends/batch_status.py +251 -0
  33. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/cluster_config.py +138 -6
  34. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/dispatch.py +60 -7
  35. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/local.py +3 -3
  36. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/registry.py +92 -20
  37. quantui-0.13.0/quantui/backends/result_summary.py +146 -0
  38. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/slurm.py +163 -30
  39. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/slurm_errors.py +9 -4
  40. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/slurm_ingest.py +66 -15
  41. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/slurm_utils.py +131 -19
  42. quantui-0.13.0/quantui/backends/worker.py +1722 -0
  43. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/worker_payload.py +202 -33
  44. {quantui-0.10.0 → quantui-0.13.0}/quantui/batch_launcher.py +16 -1
  45. {quantui-0.10.0 → quantui-0.13.0}/quantui/benchmarks.py +109 -60
  46. {quantui-0.10.0 → quantui-0.13.0}/quantui/calc_log.py +292 -106
  47. {quantui-0.10.0 → quantui-0.13.0}/quantui/calculator.py +51 -3
  48. quantui-0.13.0/quantui/checklist_widget.py +61 -0
  49. {quantui-0.10.0 → quantui-0.13.0}/quantui/checkpoint.py +78 -54
  50. quantui-0.13.0/quantui/chg_dispersion.py +200 -0
  51. {quantui-0.10.0 → quantui-0.13.0}/quantui/cli.py +297 -11
  52. {quantui-0.10.0 → quantui-0.13.0}/quantui/comparison.py +18 -16
  53. {quantui-0.10.0 → quantui-0.13.0}/quantui/config.py +120 -39
  54. {quantui-0.10.0 → quantui-0.13.0}/quantui/connectivity.py +12 -11
  55. quantui-0.13.0/quantui/data/js/3Dmol-LICENSE.txt +89 -0
  56. quantui-0.13.0/quantui/data/js/PROVENANCE.md +25 -0
  57. {quantui-0.10.0 → quantui-0.13.0}/quantui/data/launcher/quantui_batch.py +579 -49
  58. quantui-0.13.0/quantui/data/library/QM9-PROVENANCE.md +10 -0
  59. {quantui-0.10.0 → quantui-0.13.0}/quantui/data/library/library.sqlite +0 -0
  60. {quantui-0.10.0 → quantui-0.13.0}/quantui/data/manifests/presets.json +60 -40
  61. {quantui-0.10.0 → quantui-0.13.0}/quantui/density_fitting.py +3 -3
  62. {quantui-0.10.0 → quantui-0.13.0}/quantui/descriptor_cards.py +20 -2
  63. {quantui-0.10.0 → quantui-0.13.0}/quantui/downloads.py +52 -2
  64. quantui-0.13.0/quantui/ecd_plot.py +200 -0
  65. {quantui-0.10.0 → quantui-0.13.0}/quantui/engines/__init__.py +32 -13
  66. {quantui-0.10.0 → quantui-0.13.0}/quantui/engines/base.py +3 -2
  67. {quantui-0.10.0 → quantui-0.13.0}/quantui/engines/pyfock_engine.py +31 -1
  68. {quantui-0.10.0 → quantui-0.13.0}/quantui/engines/pyscf_engine.py +5 -2
  69. {quantui-0.10.0 → quantui-0.13.0}/quantui/estimator_eval.py +2 -1
  70. {quantui-0.10.0 → quantui-0.13.0}/quantui/freq_calc.py +532 -77
  71. {quantui-0.10.0 → quantui-0.13.0}/quantui/freq_displacement_ids.py +54 -6
  72. {quantui-0.10.0 → quantui-0.13.0}/quantui/freq_ir_workers.py +17 -12
  73. {quantui-0.10.0 → quantui-0.13.0}/quantui/freq_raman_workers.py +11 -7
  74. quantui-0.13.0/quantui/gaussian_input.py +400 -0
  75. {quantui-0.10.0 → quantui-0.13.0}/quantui/gpu_offload.py +20 -6
  76. {quantui-0.10.0 → quantui-0.13.0}/quantui/help_content.py +740 -57
  77. {quantui-0.10.0 → quantui-0.13.0}/quantui/inorganic_guards.py +17 -6
  78. quantui-0.13.0/quantui/ir_plot.py +354 -0
  79. quantui-0.13.0/quantui/irc.py +446 -0
  80. {quantui-0.10.0 → quantui-0.13.0}/quantui/issue_tracker.py +21 -5
  81. {quantui-0.10.0 → quantui-0.13.0}/quantui/live_log.py +7 -5
  82. {quantui-0.10.0 → quantui-0.13.0}/quantui/log_utils.py +13 -6
  83. {quantui-0.10.0 → quantui-0.13.0}/quantui/measurement.py +12 -4
  84. {quantui-0.10.0 → quantui-0.13.0}/quantui/molecule.py +154 -19
  85. {quantui-0.10.0 → quantui-0.13.0}/quantui/molecule_library.py +69 -7
  86. {quantui-0.10.0 → quantui-0.13.0}/quantui/mulliken_plot.py +5 -2
  87. {quantui-0.10.0 → quantui-0.13.0}/quantui/nmr_calc.py +108 -19
  88. quantui-0.13.0/quantui/nmr_plot.py +268 -0
  89. quantui-0.13.0/quantui/nmr_ssc.py +183 -0
  90. {quantui-0.10.0 → quantui-0.13.0}/quantui/optimizer.py +109 -18
  91. {quantui-0.10.0 → quantui-0.13.0}/quantui/orbital_visualization.py +483 -162
  92. {quantui-0.10.0 → quantui-0.13.0}/quantui/pes_scan.py +113 -11
  93. quantui-0.13.0/quantui/pes_scan_2d.py +746 -0
  94. quantui-0.13.0/quantui/pes_scan_2d_plot.py +165 -0
  95. {quantui-0.10.0 → quantui-0.13.0}/quantui/pes_scan_ui.py +31 -14
  96. quantui-0.13.0/quantui/plotly_embed.py +156 -0
  97. quantui-0.13.0/quantui/population_analysis.py +259 -0
  98. {quantui-0.10.0 → quantui-0.13.0}/quantui/populations_overlay.py +187 -23
  99. {quantui-0.10.0 → quantui-0.13.0}/quantui/preopt.py +14 -2
  100. {quantui-0.10.0 → quantui-0.13.0}/quantui/progress.py +37 -1
  101. {quantui-0.10.0 → quantui-0.13.0}/quantui/pubchem.py +50 -15
  102. {quantui-0.10.0 → quantui-0.13.0}/quantui/pyfock_gpu.py +4 -3
  103. {quantui-0.10.0 → quantui-0.13.0}/quantui/raman_calc.py +50 -12
  104. {quantui-0.10.0 → quantui-0.13.0}/quantui/raman_plot.py +18 -7
  105. quantui-0.13.0/quantui/reaction_energy.py +391 -0
  106. {quantui-0.10.0 → quantui-0.13.0}/quantui/reorganization_energy.py +38 -16
  107. {quantui-0.10.0 → quantui-0.13.0}/quantui/results_storage.py +185 -36
  108. {quantui-0.10.0 → quantui-0.13.0}/quantui/scf_robust.py +32 -14
  109. quantui-0.13.0/quantui/scf_stability.py +267 -0
  110. {quantui-0.10.0 → quantui-0.13.0}/quantui/session_calc.py +273 -87
  111. quantui-0.13.0/quantui/spectrum_overlay.py +377 -0
  112. {quantui-0.10.0 → quantui-0.13.0}/quantui/spin_presets.py +1 -1
  113. {quantui-0.10.0 → quantui-0.13.0}/quantui/structure_edit.py +38 -11
  114. quantui-0.13.0/quantui/structure_overlay.py +252 -0
  115. {quantui-0.10.0 → quantui-0.13.0}/quantui/structure_providers.py +148 -39
  116. {quantui-0.10.0 → quantui-0.13.0}/quantui/structure_upload.py +158 -19
  117. quantui-0.13.0/quantui/symmetry.py +1365 -0
  118. quantui-0.13.0/quantui/symmetry_constraint.py +337 -0
  119. {quantui-0.10.0 → quantui-0.13.0}/quantui/tddft_calc.py +110 -14
  120. {quantui-0.10.0 → quantui-0.13.0}/quantui/theme.py +74 -14
  121. quantui-0.13.0/quantui/ts_guess.py +562 -0
  122. {quantui-0.10.0 → quantui-0.13.0}/quantui/ts_search.py +108 -46
  123. {quantui-0.10.0 → quantui-0.13.0}/quantui/user_settings.py +119 -8
  124. {quantui-0.10.0 → quantui-0.13.0}/quantui/utils.py +13 -8
  125. quantui-0.13.0/quantui/vib_cache.py +346 -0
  126. {quantui-0.10.0 → quantui-0.13.0}/quantui/visualization_py3dmol.py +27 -36
  127. quantui-0.13.0/quantui/viz_assets.py +244 -0
  128. {quantui-0.10.0 → quantui-0.13.0}/quantui/viz_backend_router.py +6 -1
  129. quantui-0.13.0/quantui/xcheck/__init__.py +37 -0
  130. quantui-0.13.0/quantui/xcheck/cases.py +435 -0
  131. quantui-0.13.0/quantui/xcheck/reference.py +769 -0
  132. quantui-0.13.0/quantui/xcheck/runner.py +1050 -0
  133. {quantui-0.10.0 → quantui-0.13.0}/quantui/xyz_input.py +5 -4
  134. {quantui-0.10.0 → quantui-0.13.0/quantui.egg-info}/PKG-INFO +93 -79
  135. {quantui-0.10.0 → quantui-0.13.0}/quantui.egg-info/SOURCES.txt +33 -1
  136. {quantui-0.10.0 → quantui-0.13.0}/quantui.egg-info/requires.txt +11 -8
  137. quantui-0.10.0/SECURITY.md +0 -62
  138. quantui-0.10.0/quantui/__init__.py +0 -311
  139. quantui-0.10.0/quantui/backends/batch_input.py +0 -236
  140. quantui-0.10.0/quantui/backends/worker.py +0 -949
  141. quantui-0.10.0/quantui/ir_plot.py +0 -182
  142. quantui-0.10.0/quantui/nmr_plot.py +0 -118
  143. quantui-0.10.0/quantui/symmetry.py +0 -399
  144. quantui-0.10.0/quantui/vib_cache.py +0 -254
  145. quantui-0.10.0/quantui/viz_assets.py +0 -116
  146. {quantui-0.10.0 → quantui-0.13.0}/LICENSE +0 -0
  147. {quantui-0.10.0 → quantui-0.13.0}/MANIFEST.in +0 -0
  148. {quantui-0.10.0 → quantui-0.13.0}/quantui/analytics.py +0 -0
  149. {quantui-0.10.0 → quantui-0.13.0}/quantui/ase_bridge.py +0 -0
  150. {quantui-0.10.0 → quantui-0.13.0}/quantui/backends/cluster_security.py +0 -0
  151. {quantui-0.10.0 → quantui-0.13.0}/quantui/c_stderr.py +0 -0
  152. {quantui-0.10.0 → quantui-0.13.0}/quantui/cactus.py +0 -0
  153. {quantui-0.10.0 → quantui-0.13.0}/quantui/cancellation.py +0 -0
  154. {quantui-0.10.0 → quantui-0.13.0}/quantui/data/js/3Dmol-min.js +0 -0
  155. {quantui-0.10.0 → quantui-0.13.0}/quantui/data/js/3Dmol-min.js.LICENSE.txt +0 -0
  156. {quantui-0.10.0 → quantui-0.13.0}/quantui/data/manifests/bulk_qm9.json +0 -0
  157. {quantui-0.10.0 → quantui-0.13.0}/quantui/data/manifests/curated.json +0 -0
  158. {quantui-0.10.0 → quantui-0.13.0}/quantui/data/manifests/inorganic.json +0 -0
  159. {quantui-0.10.0 → quantui-0.13.0}/quantui/security.py +0 -0
  160. {quantui-0.10.0 → quantui-0.13.0}/quantui.egg-info/dependency_links.txt +0 -0
  161. {quantui-0.10.0 → quantui-0.13.0}/quantui.egg-info/entry_points.txt +0 -0
  162. {quantui-0.10.0 → quantui-0.13.0}/quantui.egg-info/top_level.txt +0 -0
  163. {quantui-0.10.0 → quantui-0.13.0}/setup.cfg +0 -0
@@ -7,6 +7,619 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.13.0] - 2026-12-05
11
+
12
+ This release adds a built-in cross-check of QuantUI's numbers against its
13
+ calculation backend (`quantui xcheck`, also run weekly in CI), a two-pane
14
+ workspace with a menu bar and a calculation-setup dialog, and new
15
+ calculation and analysis features (SCF stability, 2-D scans, NMR
16
+ couplings, Compare tools, Keep symmetry). Open-shell result cards now name
17
+ the gap they show (both spin channels).
18
+
19
+ ### Added
20
+
21
+ - **Menu bar** (File · Calculate · View · Results · Help) under the title:
22
+ load or upload a molecule, open saved results, exports, set up / run /
23
+ cancel a calculation, structure style and labels, the two-pane workspace
24
+ and theme, jump straight to any Analysis panel, help and an About line.
25
+ Items that cannot be used right now are greyed out and say why. System
26
+ Settings → "Menu bar" turns it off.
27
+ - **Calculation setup in a dialog** (Calculate → "Set up calculation…", or
28
+ "Set up in a dialog" on the Calculate tab): the same setup controls in a
29
+ window over the page; Run starts the calculation and shows the live log.
30
+ - **Weekly backend cross-check** (`xcheck-weekly.yml`, Sundays and on
31
+ demand): the full cross-check tier against PySCF and the PyFock cases
32
+ (single point and optimization) against density-fitted PySCF, with
33
+ reports kept as workflow artifacts. Pull-request CI keeps the quick tier.
34
+
35
+ - **Backend cross-check (`quantui xcheck`).** Runs reference cases through
36
+ QuantUI the way a student's calculation runs (the batch worker, and the
37
+ app's single-point path), reads the numbers back from the saved
38
+ `result.json`, and compares each with PySCF computed directly by
39
+ independent recipes that use only PySCF and NumPy: energies, HOMO-LUMO
40
+ gap, ⟨S²⟩, dipole, Mulliken and natural charges, the SCF class used,
41
+ frequencies, IR intensities, ZPE/H/S/G, TD-DFT excitations, oscillator and
42
+ rotatory strengths, NMR shieldings and shifts, and whether an optimized
43
+ geometry is a stationary point. A quick tier runs in the test suite, in
44
+ the CPU image's build test, and on a GPU node in `verify-gpu.sh` (GPU
45
+ results against the CPU reference); `--tier full` adds more functionals,
46
+ PCM, CCSD(T), NH₃ thermochemistry, ECD and NMR. Exit code 1 on any
47
+ disagreement.
48
+ - **SCF stability check and broken-symmetry start** (Single Point, opt-in).
49
+ The stability check follows an internal instability to the lower solution
50
+ and, for RHF/RKS, reports how much lower a spin-polarized UHF/UKS solution
51
+ is (with its ⟨S²⟩). A broken-symmetry start converges a chosen high-spin
52
+ state, flips the spin on the listed atoms and starts the requested
53
+ low-spin calculation from it. Both also work as batch options.
54
+ - **Thermochemistry symmetry-number override.** Set σ on the Frequency
55
+ setup or in the Analysis thermochemistry box; S and G are recomputed and
56
+ the card shows both the value used and the detected one.
57
+ - **Reactant + product transition-state searches as batch jobs**
58
+ (`quantui submit … --calc transition_state --product P.xyz`, also
59
+ `quantui-batch`), with the interpolated guess cached for resubmission.
60
+ - **Two-pane molecule workspace** (on by default; System Settings →
61
+ "Two-pane workspace" turns it off). The molecule stays in a pane beside
62
+ the tabs while you read any Analysis panel, with a toolbar (style,
63
+ atom-number labels, reset view, viewer backend), the measurement tools,
64
+ an atom list (coordinates plus Mulliken/NPA charges when the result has
65
+ them) and a status footer (job state, formula, charge, multiplicity,
66
+ selection). Clicking an atom in the viewer selects its row and clicking a
67
+ row selects the atom; on narrow windows the panes stack.
68
+ - **2-D relaxed PES scans**: two coordinates (bond, angle or dihedral each)
69
+ on a grid of up to 400 constrained optimizations in snake order, a
70
+ contour map with the minimum marked and click-a-point → geometry,
71
+ checkpoint/resume, History reload and batch options (`scan2_*`).
72
+ - **NMR spin-spin couplings** (opt-in): J in Hz for H–H, C–H and C–C pairs
73
+ with the FC/SD/PSO/DSO breakdown and nJ labels, and an optional
74
+ first-order splitting of the ¹H spectrum.
75
+ - **Compare tab tools:** overlay IR, Raman, UV-Vis or ¹H/¹³C NMR spectra
76
+ from 2–6 saved results (shared broadening, optional normalisation, HTML/PNG
77
+ export, Copy data); overlay two structures with the same atoms after
78
+ alignment, with all-atom and heavy-atom RMSD and the largest
79
+ displacements; and a reaction-energy calculator (ΔE, and ΔH/ΔG when every
80
+ species has thermochemistry at the same T and P) in kcal/mol, kJ/mol or
81
+ eV, which refuses an unbalanced reaction.
82
+ - **Keep symmetry** option for Geometry Opt: the starting structure is
83
+ symmetrized to its detected point group and every step keeps it; the
84
+ result card shows the group kept (batch option `keep_symmetry`).
85
+ - **Gaussian-format input export (`.gjf`)** from Results → Export and from
86
+ each saved result in History (built in memory as a download).
87
+ - **6-311G\*\*** basis set.
88
+ - **Spectrum options:** IR frequency scale factor, Lorentzian or Gaussian
89
+ band shape, transmittance axis; UV-Vis energy (eV) axis with
90
+ energy-space broadening.
91
+
92
+ ### Changed
93
+
94
+ - Cluster Jobs: Cancel and Refresh run in the background, so the app stays
95
+ responsive while SLURM answers.
96
+ - The structure style menu restyles every structure viewer, not only the
97
+ Calculate tab's; viewers that were on screen when drawn now register the
98
+ first atom click.
99
+ - Open-shell (UHF/UKS) result cards now label the gap "HOMO-LUMO gap (both
100
+ spin channels)", which is what has been computed since 0.12.0; the
101
+ exported PySCF script prints the same gap (it printed the α-channel gap).
102
+ - Internal: the app's run function is split into one helper per
103
+ calculation type; a few catch-all error handlers were narrowed.
104
+
105
+ ## [0.12.0] - 2026-11-12
106
+
107
+ This release also includes the fixes from a full codebase audit
108
+ (2026-11-10; PRs #169, #170, #172). The most important ones change
109
+ computed numbers: NMR ¹³C shifts, wB97X-D energies, and the entropy of
110
+ high-symmetry molecules. Results from earlier versions in those areas
111
+ should be recomputed.
112
+
113
+ ### Added
114
+
115
+ - **ECD (electronic circular dichroism) spectra** (M-SPECTRA2 SPC2.3). UV-Vis
116
+ (TD-DFT) runs now also compute rotatory strengths (velocity gauge, plotted;
117
+ length gauge shown alongside) in 10⁻⁴⁰ cgs, and a new **ECD** panel beside
118
+ UV-Vis shows the stick or Gaussian-broadened Δε spectrum (Stephens & Harada
119
+ convention) with HTML/PNG export and Copy data. Enantiomers give exactly
120
+ mirror-image spectra; an achiral molecule is labelled as such. Needs a
121
+ diffuse basis for meaningful Rydberg bands; not available with ECP basis
122
+ sets (PySCF limitation). Saved with results and batch jobs.
123
+ - **NPA charges and bond orders** (M-CHEM CHEM.2/CHEM.3). The Populations
124
+ panel (now *Populations & Bond Orders*) shows natural population analysis
125
+ (NPA) charges beside Mulliken, with a Mulliken/NPA toggle for the chart and
126
+ 3D colours, plus Mayer and Wiberg bond orders in a table and, optionally,
127
+ as labels on the bonds in 3D. NPA comes from PySCF's natural atomic
128
+ orbitals (the NAO/NPA step of NBO, not full NBO); Wiberg indices are
129
+ computed in the NAO basis, as NBO programs report them. NPA charges change
130
+ far less with basis set than Mulliken charges (water's O: −0.92 to −0.96
131
+ across 6-31G…def2-TZVP vs −0.31 to −0.90). Saved with results and batch
132
+ jobs; for MP2/CCSD they come from the HF reference density.
133
+ - **Transition-state guess from a reactant and a product** (M-TS TS.4).
134
+ On the Transition State calc type, pick a *Product* (a saved
135
+ Geometry Opt result with the same atoms, or pasted XYZ): QuantUI aligns it
136
+ to the current molecule, builds an IDPP-interpolated path (7 images by
137
+ default), computes each image's energy, starts the Sella search from the
138
+ highest one and plots the path profile in the PES Scan panel. Warns when
139
+ atoms pass through each other (usually mismatched atom order) or when the
140
+ path has no barrier. `quantui.ts_guess`. Batch jobs still start from one
141
+ geometry.
142
+ - **Help topics** for Frequency (IR, Raman, thermochemistry), UV-Vis
143
+ (TD-DFT), NMR, Reorganization Energy, implicit solvent (PCM), GPU
144
+ acceleration and running on a SLURM cluster. These had no help coverage.
145
+ - The full 3Dmol.js BSD-3-Clause license now ships with the vendored copy
146
+ (`quantui/data/js/3Dmol-LICENSE.txt`).
147
+
148
+ ### Security
149
+
150
+ - **Every Voilà launch now needs a per-run token and listens on 127.0.0.1
151
+ only** (`quantui run app`, the native launchers and the Apptainer app
152
+ runscript), as `quantui view` already did; the JupyterLab launcher no
153
+ longer disables Jupyter's token. Another user on a shared machine could
154
+ otherwise drive your session.
155
+ - **A results folder is treated as data, not page code.** Opening someone
156
+ else's results (Viewer zip, shared folder) could inject HTML/JavaScript
157
+ through cached vibrational animations, saved orbital cubes or symmetry
158
+ labels, and two index files allowed reading files outside the folder.
159
+ Cached animations are now signed per user; file names, script-embedded
160
+ JSON and all result text shown in History, Results and error cards are
161
+ checked or escaped.
162
+ - **Batch job folders are created owner-only (0700)**, and the SLURM
163
+ partition name is validated like account/QOS before it reaches the batch
164
+ script.
165
+
166
+ ### Fixed
167
+ - **NMR chemical shifts were offset by up to 52 ppm (¹³C).** The TMS
168
+ reference table did not match QuantUI's own GIAO shieldings (TMS itself
169
+ came out at δ(¹³C) = −7.7 ppm at B3LYP/6-31G*, −52 ppm at RHF/STO-3G). The
170
+ table is now computed by QuantUI on TMS optimized at each level, so TMS
171
+ gives δ ≈ 0. NMR also refuses open-shell, post-HF and meta-GGA cases up
172
+ front instead of failing with a cryptic error.
173
+ - **wB97X-D now includes its dispersion term.** LibXC's functional is only
174
+ the exchange-correlation part; QuantUI now adds the Chai–Head-Gordon
175
+ atom-pair dispersion to energies, forces, frequencies and exported
176
+ scripts (parameters for H–Xe).
177
+ - **Thermochemistry uses the right symmetry number for slightly distorted
178
+ geometries** (e.g. benzene σ = 12, was 4; G was 2.7 kJ/mol too low). The
179
+ point group is shown in the thermo panel.
180
+ - **Open-shell HOMO–LUMO gap and orbital diagram** use both spins
181
+ (min LUMO − max HOMO) and draw α and β levels; the gap was α-only.
182
+ - **Structure search keeps charge and multiplicity**: ions and radicals
183
+ (sulfate, ammonium, OH⁻, CH₃·, O₂ triplet) no longer load as neutral
184
+ singlets or fail as "Not found". Search answers from the bundled library
185
+ first, offline.
186
+ - **Calculation runs:** one run at a time (a double-click started two);
187
+ settings are read once at Run and frozen while it runs, so changing the
188
+ basis mid-run no longer mixes levels of theory; a seed geometry keeps the
189
+ current charge and multiplicity; a resumed Frequency run never reuses IR
190
+ or Raman displacements from a different geometry; a failed save, a late
191
+ Cancel and a failed pre-optimization are reported instead of looking
192
+ like success.
193
+ - **IRC** reports the true end minimum when Sella's inner loop gives up (the
194
+ stored end point could be the previous path point, giving wrong
195
+ barriers), and mirror-image ends (NH₃ inversion) count as two minima.
196
+ - **PES scans:** angle scans stay between 0° and 180° and start from linear
197
+ geometries; angle/dihedral scans rotate the whole moving group instead of
198
+ one atom.
199
+ - **Frequencies:** an unconverged displaced SCF no longer corrupts IR or
200
+ Raman intensities (they are dropped with a message); the mode-following
201
+ restart from a saddle point moves the stated 0.3 Å.
202
+ - **Batch/SLURM:** cancelled ("CANCELLED by …"), preempted and lost jobs are
203
+ recognised instead of holding a job slot forever; a reused request id no
204
+ longer overwrites a running job; requeued jobs follow the new attempt;
205
+ ingested results keep their structure; `quantui-batch submit --from`
206
+ keeps the source's solvent and refuses an unconverged source; the job
207
+ monitor can no longer leave Run disabled.
208
+ - **Uploads and parsing:** planar 3-D MOL/SDF files keep their geometry;
209
+ charge/multiplicity are taken from a file only when it sets them;
210
+ non-finite coordinates, impossible spin states and truncated XYZ are
211
+ rejected; UTF-8 BOM, UTF-16, Fortran `D` exponents, D/T isotope labels
212
+ and PDB alternate locations are handled.
213
+ - Many smaller fixes from the same audit: History cards, exports following
214
+ the run instead of the last-viewed History folder, theme CSS and Dark
215
+ contrast, 1-based MO numbers everywhere, open-shell TD states no longer
216
+ labelled S1…Sn, GFN-FF pre-optimization charge, C3v orbital labels,
217
+ calibration and estimator fixes, launcher robustness.
218
+
219
+ - **MO symmetry labels no longer depend on the LAPACK build.** On a
220
+ geometry symmetric only to within the detection tolerance, a split
221
+ degenerate pair (e.g. an NH3 e level) could be labelled "a2" on one
222
+ platform and "e" on another, because PySCF's `symmetrize_space` rebuilt
223
+ each irrep from an arbitrary basis. Each near-degenerate cluster of
224
+ orbitals (within 5 mHa) is now rotated onto symmetry-pure combinations
225
+ before labelling, and C3v labels are refused (Cs labels kept) if they
226
+ would contain more a1, a2 or e levels than the AO basis has SALCs of that
227
+ irrep. The 90% symmetry-purity check on orbitals now actually applies.
228
+ - **Results Viewer (pre-release audit, VA.1–VA.12)** — the History + Analysis
229
+ viewer (desktop installer and browser build, neither of which has PySCF):
230
+ - Frequency results show their saved thermochemistry instead of a red
231
+ "No module named 'pyscf'" error; T and P are locked, with a note, when
232
+ nothing can be recomputed. The not-a-minimum warning always shows.
233
+ - The Orbital Isosurface panel draws the saved HOMO and LUMO as before and
234
+ says other orbitals, density and ESP need the full QuantUI, instead of
235
+ offering buttons that failed with a "conda install pyscf" error.
236
+ - Mode symmetry labels are saved with each Frequency result, so History and
237
+ the Viewer show them without PySCF.
238
+ - Switching tabs no longer raises an error; the header says "Viewer"; Help
239
+ has a Viewer "Getting Started" and only topics that apply; the activity
240
+ light (always "Idle") is hidden.
241
+ - Browser build: the editable folder box is hidden (the files live in the
242
+ tab's memory), and Report Issue explains that nothing is kept once the
243
+ tab closes and links to the issue tracker.
244
+ - Narrow windows: the folder bar and History's Load row wrap instead of
245
+ pushing buttons off-screen; 3D viewers no longer overflow their panel;
246
+ the energy-level diagram scrolls sideways instead of being clipped.
247
+ - **UV-Vis excited-state table readable on dark themes** — alternate rows were
248
+ near-white (JupyterLab's table striping) under light text.
249
+ - **Analysis structure viewer filled for NMR, PES Scan and reorganization
250
+ results** opened from History; it stayed blank when the geometry was saved
251
+ only at the top level of `result.json`.
252
+ - **Calibration runs save complete results** — Frequency entries now include
253
+ thermochemistry, the max-force check and the saddle-point retry (one payload
254
+ shared with the app and batch jobs), and Geometry Opt entries keep their
255
+ Mulliken charges and dipole.
256
+ - **Energy-level diagram** — HOMO/LUMO labels sit beside the plot, so a
257
+ gridline at the same energy no longer runs through them.
258
+ - **Viewer demo results** — the Frequency sample is computed at the optimized
259
+ geometry (it was at the input geometry: max force 3.2 eV/Å, so its
260
+ frequencies were not meaningful), and the TD-DFT sample keeps its orbitals.
261
+ - **History cards show the point group for every saved result.** A single
262
+ point reloaded from History lost its *Point group* row (the live card had
263
+ it): the formatter never read the saved `geometry` block.
264
+ - **Smaller Viewer installers** (M-VIEWER VW.8): Windows 338 → 208 MB,
265
+ Linux 247 → 223 MB, macOS 213 → 185 MB. The Windows build no longer
266
+ bundles Intel MKL (NumPy now uses OpenBLAS), and pandoc, which Voilà never
267
+ calls, is left out on every platform.
268
+ - **Pasted XYZ coordinates no longer lose their first atom** when a count
269
+ line is followed directly by the atoms with no title line
270
+ (`3`, `O …`, `H …`, `H …`): water used to load as H₂, with only a log
271
+ warning.
272
+ - **The tutorial notebooks run again.** All five failed: they were written
273
+ for a removed cluster-submission workflow, needed `$USER`, or used
274
+ renamed attributes. They now run in-session in seconds, and every value
275
+ they quote is the value the code prints (e.g. RHF/6-31G water is
276
+ −75.984 Ha, not −76.03; STO-3G lies ~667 kcal/mol above cc-pVDZ, not
277
+ "30–100").
278
+ - Documentation site: the gallery images and the Features → CLI link were
279
+ broken on the published site.
280
+ - GPU messages, a CLI note and an engine error pointed at a "Status tab"
281
+ that no longer exists; they now name the System Settings tab.
282
+ - In-app help corrected throughout to match the current UI (labels,
283
+ Upload File, Compare tab, resume and warm-start details, RHF/UHF
284
+ behaviour, search order).
285
+
286
+ - **`quantui-batch` and `quantui submit` refuse a method QuantUI does not
287
+ support** instead of warning and queueing it. The worker fails any method
288
+ outside the supported list, so `--method HF` (or a typo) used to wait in
289
+ the queue and then fail; it is now refused before `sbatch`, with a hint
290
+ that Hartree-Fock is RHF or UHF. Accepted names are normalised to their
291
+ usual spelling (`cam-b3lyp` becomes `CAM-B3LYP`).
292
+ - **`quantui jobs` no longer shows a cancelled, timed-out or out-of-memory
293
+ job as running.** A killed worker leaves its last `progress.json` behind,
294
+ and any Slurm state other than the queued/running ones read as "running".
295
+ Finished states from `sacct` now win: cancelled, or failed with the fix
296
+ (`--more-time`, `--more-memory`, the log); a job that completed without a
297
+ result is failed.
298
+ - **A SLURM Reorganization Energy job resumes after a timeout or OOM.** The
299
+ batch worker never handed the run its checkpoint, so `quantui-batch rerun`
300
+ redid all two or three geometry optimizations. Each optimization now
301
+ continues from where it stopped, as in the app.
302
+ - The Help topic "Resuming an interrupted calculation" no longer says
303
+ Frequency cannot be resumed, and now lists Reorganization Energy.
304
+
305
+ ### Changed
306
+ - **Plotly figures load plotly.js once per page** from the installed
307
+ package (still offline) instead of embedding ~4.8 MB in every figure and
308
+ slider redraw; in-app figures are now under 200 kB.
309
+ - **Batch jobs match the app:** a geometry optimization or pre-optimization
310
+ is followed by the same required single point (one more SCF per job);
311
+ PySCF's memory follows the SLURM allocation; failures write a full
312
+ traceback to `live.log`; `result.json` records elapsed time and warnings.
313
+ - NMR stick spectra run high → low in δ, as in the literature.
314
+ - Packaging: `py3Dmol` capped below 2.6 (matches the vendored 3Dmol.js);
315
+ `rdkit` and `psutil` declared directly; SPDX licence metadata; provenance
316
+ files shipped in the wheel.
317
+
318
+ - Documentation brought in line with the code: CLI reference (`quantui
319
+ view`, `gpu check --engine`, `submit` requirements and flags,
320
+ `install-launcher` options), SLURM batch guide, Apptainer guide (base
321
+ image, build options; no `.sif` is published on Releases), README and
322
+ docs site (GPU coverage, IRC/Raman/reorganization energy, install from
323
+ PyPI with `quantui run app`), SECURITY.md (supported versions,
324
+ subprocess use), and the contributor and agent guides.
325
+
326
+ ## [0.11.1] - 2026-11-02
327
+
328
+ ### Changed
329
+
330
+ - Documentation site: an "Open the Viewer" link in the Home sidebar and on
331
+ the home page, a two-column Features page, and shorter text throughout.
332
+
333
+ ### Fixed
334
+
335
+ - **IRC no longer ends both directions in the same minimum.** Sella's
336
+ iterative estimate of the starting Hessian could carry a spurious mode,
337
+ so from a transition state converged only to the force threshold the
338
+ first step went sideways and both directions fell into one valley. The
339
+ IRC now starts from PySCF's analytic Hessian, as the transition-state
340
+ search already does. If Sella's inner loop fails, the direction is
341
+ finished by mass-weighted steepest descent before a short-step BFGS;
342
+ if both ends still match, the verdict says so rather than reporting a
343
+ connection.
344
+ - Viewer installer builds use the `macos-15` runner (`macos-14` is retired).
345
+
346
+ ## [0.11.0] - 2026-11-01
347
+
348
+ ### Added
349
+
350
+ - **IRC calc type** (M-TS TS.3, engine Sella): follows the reaction path
351
+ downhill from a transition state in both directions, in mass-weighted
352
+ coordinates, to the two minima it connects. Pick the Transition State
353
+ result under *Start from*. The card gives the barrier from each side and
354
+ a verdict; the PES Scan panel plots energy against the reaction coordinate
355
+ (click a point to jump the Trajectory panel there); Trajectory plays
356
+ reactant → TS → product; History replays both. Steps of 0.2 Å·amu½ with
357
+ Sella's gamma at 0.4 (measured: 35–71 SCFs per direction where the
358
+ defaults stalled); if Sella's inner loop gives out near a minimum, that
359
+ direction is finished by minimizing and the card says so. PCM supported.
360
+ Also a batch job (`--calc irc`, usually `--from` a Transition State job;
361
+ no mid-path resume) in `quantui submit`, `quantui-batch` and the app's
362
+ SLURM path; `results` prints the barriers and verdict.
363
+ - **Full symmetry labels for D4h, D4, C4v and D2d** vibrational modes
364
+ (square-planar, square-pyramidal and allene-type molecules) instead of
365
+ their D2h/C2v/D2 subgroup labels. B1 and B2 follow the usual convention
366
+ (C2′ axes, or σv planes, through the ligands), so a square-planar AB4's
367
+ B1g is the in-plane stretch. Point-group detection for mode labels no
368
+ longer drops to a lower group at the loose tolerance (an exact square
369
+ pyramid was labelled C2v).
370
+ - **The Viewer draws the HOMO and LUMO** (M-VIEWER VW.7): when orbitals are
371
+ saved (app or batch job), the HOMO and LUMO, each spin for unrestricted
372
+ results, are also saved as gzipped cubes at the Isosurface panel's
373
+ default grid (about 0.4 MB each; `frontier_cubes/`). The desktop and
374
+ browser Viewer, which have no PySCF, draw those; for any other orbital,
375
+ density or ESP they say to open the result in the full QuantUI. Set
376
+ `QUANTUI_FRONTIER_CUBES=0` to skip them.
377
+ - **`quantui view` opens the last folder it showed** when started without
378
+ one (desktop shortcuts), instead of the home directory.
379
+ - **`quantui jobs`** (M-BATCH2 B2.9): your batch jobs, newest first, with
380
+ where each one is: waiting, running (with the worker's progress),
381
+ done or failed. With `squeue` on PATH it refreshes the job records from
382
+ the queue first; without it (an OnDemand session) it reads each job
383
+ folder. `--running` lists unfinished jobs, `--all` every job.
384
+ - **History lists batch jobs not finished yet** (B2.10): on app start and
385
+ on Refresh, jobs submitted from a terminal show their state and progress
386
+ from their job folders, since OnDemand has no `squeue`. A
387
+ terminal-submitted job's record is marked succeeded when its result is
388
+ saved to History.
389
+ - **Transition State as a batch job** (M-TS TS.5): `quantui submit`,
390
+ `quantui-batch submit --calc transition_state` and the app's SLURM path
391
+ run the same Sella search and frequency check as the window, PCM included.
392
+ A killed job resumes the search from its last step, never redoes a
393
+ finished search, and keeps the frequency check's finished displacements.
394
+ History shows the stationary point found with its search path;
395
+ `results` prints the verdict; `--from` a TS job starts from its saddle
396
+ point. A post-HF method is refused before the job queues. Both Apptainer
397
+ images now install the `[ts]` extra (Sella), which Transition State needs
398
+ on the cluster in the window as well.
399
+ - **Clarity and layout pass** (M-UIPOLISH, from a rendered-UI walk-through):
400
+ - Molecules open facing the camera in every viewer (principal axes), so
401
+ water no longer looks linear and the dipole arrow is visible.
402
+ - The library finds common names ("water", "ammonia", "benzene"); QM9
403
+ entries come after the curated ones and duplicates are listed once.
404
+ - Two-column layouts on wide screens: Calculate (molecule | setup + run),
405
+ Results (card | structure), and the Analysis viewer, Mulliken,
406
+ Vibrational and Orbital panels; they stack on narrow windows.
407
+ - One-line header with the toolbar, a one-line step indicator, the
408
+ "Calculation complete" links right under Run, and a shorter, resizable
409
+ log that hides internal bookkeeping lines.
410
+ - Analysis lists the panels that have data first; plots opened from a
411
+ collapsed panel fill their width; Raman follows the IR axis direction.
412
+ - UV-Vis shows vacuum-UV bands (the window started at 100 nm) and lists
413
+ the excited states; NMR groups equivalent nuclei and uses one
414
+ Atom | σ | δ table.
415
+ - Live and History result cards show the same rows; frequencies are
416
+ listed with their symmetry labels; formulas read NH3, not H3N.
417
+ - Compare uses checkboxes and renders its chart; History offers recent
418
+ results as links with the other filters folded away; Help and Report
419
+ Issue open as side drawers (Esc closes both).
420
+ - Shorter copy throughout, a 12 px minimum text size, clearer section
421
+ headings, neutral Report Issue / Exit / idle Cancel buttons.
422
+ - Fixed: the System Settings GPU row could stay at "checking…" forever.
423
+ - **Vibrational-mode symmetry labels** (M-SPECTRA2 SPC2.4) — after a Frequency
424
+ calculation each normal mode gets its irreducible representation: a *Sym.*
425
+ column and a Γvib caption in the Vibrational mode table (NH₃: 2A₁ + 2E), the
426
+ label in the mode dropdown, and a *Symmetry* line in the IR and Raman stick
427
+ hovers. Works for live results and History reloads (computed from the saved
428
+ displacements). Full-group labels for abelian groups, C3v, D3h, D3, D3d, D6h,
429
+ Td, Oh and linear molecules (σ/π); other groups (e.g. D4h) show labels in
430
+ PySCF's computational subgroup, said so in the caption.
431
+ `quantui.symmetry.label_mode_irreps()`.
432
+ - **Diffuse basis sets** — `6-31+G*`, `6-31++G**`, `aug-cc-pVDZ` and
433
+ `def2-SVPD` join the basis menu (each next to the set it extends), for
434
+ anions, radical anions and weakly bound species. Available with PySCF in the
435
+ app, `quantui submit` and `quantui-batch`; PyFock's menu is unchanged.
436
+ `6-31+G(d)` / `6-31++G(d,p)` are accepted as the same sets. The basis card
437
+ marks them *Diffuse*, the educational notes explain them and nudge an anion
438
+ on a non-diffuse basis toward one, and the basis-set help topic has a new
439
+ *Anions need diffuse functions* paragraph. SLURM memory factors and the time
440
+ estimator's basis-function table cover the new sets.
441
+ `config.DIFFUSE_BASIS_SETS` / `config.is_diffuse_basis()` list them.
442
+ - **`quantui results JOB_DIR`** — the `quantui-batch results` summary
443
+ (convergence, energy, imaginary modes, strongest IR bands, excited states,
444
+ NMR shifts) from inside the image. Both now also note a saddle-point
445
+ retry.
446
+ - **Site limits for batch jobs** — `QUANTUI_SLURM_MAX_MEMORY_GB`,
447
+ `QUANTUI_SLURM_ESTIMATE_MAX_MEMORY_GB` and `QUANTUI_SLURM_MAX_CORES` set the
448
+ hard limits and the automatic estimate's own memory ceiling (defaults
449
+ unchanged: 128 GB, 32 cores). Set them in the image environment before
450
+ `quantui install-launcher` so `quantui-batch` uses the same values.
451
+ - **Viewer mode (`quantui view [FOLDER]`)** — a lightweight QuantUI with only
452
+ the History and Analysis tabs, pointed at a results folder, needing no quantum
453
+ engine. `QuantUIApp(viewer=True, results_dir=...)` adds a results-folder bar
454
+ above the tabs; `quantui view` starts Voilà on a free `127.0.0.1` port and
455
+ opens the browser. Packaging for two delivery routes lives in
456
+ `packaging/viewer/` (unsigned conda-constructor desktop installers and a
457
+ Voici/Pyodide browser build), built by the new `viewer-builds` workflow.
458
+ - **QuantUI Viewer in the docs** — new *QuantUI Viewer* page
459
+ (`/viewer/`) with a link to the browser Viewer, which the Pages workflow now
460
+ builds and publishes at `/viewer/app/` on each release and docs change.
461
+ Publishing a release also attaches the three Viewer installers to it.
462
+ - **SLURM GPU and account settings** — `QUANTUI_SLURM_GRES`,
463
+ `QUANTUI_SLURM_QOS` and `QUANTUI_SLURM_ACCOUNT` add `#SBATCH --gres`,
464
+ `--qos` and `--account` lines to generated batch scripts (app, `quantui
465
+ submit` and `quantui-batch`). A GRES that asks for a GPU also turns on
466
+ `apptainer exec --nv`; `QUANTUI_SLURM_NV=1`/`0` overrides that.
467
+ - **Batch Geometry Opt results are complete** — a SLURM `geometry_opt`
468
+ result now records the optimized geometry (`final_molecule`), the final
469
+ SCF's dipole moment and Mulliken charges, so History and
470
+ `quantui-batch results` show them without a follow-up single point.
471
+ `--from` chaining reads the recorded geometry.
472
+
473
+ ### Changed
474
+
475
+ - **`quantui view` needs a per-run token.** It listened on 127.0.0.1 with
476
+ no authentication, so any local process or web page could start kernels
477
+ on its port; it now starts Voila with a random token and opens the URL
478
+ that carries it. A request without it gets a login page. (Standalone
479
+ Voila has no XSRF setting, so the `disable_check_xsrf` flag was never in
480
+ effect for the viewer; DEC-001's container setting is unchanged.)
481
+ - **Frequency results check the geometry** — every Frequency run now
482
+ computes the forces at the input geometry. When the largest force is above
483
+ the Geometry Opt threshold (0.05 eV/Å) the result card (live and History)
484
+ and the Analysis thermochemistry box warn that the geometry is not a
485
+ stationary point, so its frequencies and thermochemistry are not
486
+ meaningful, and say how to fix it. `FreqResult.max_force_ev_per_ang`;
487
+ saved as `spectra.ir.max_force_ev_per_ang`.
488
+ - **IR spectra run 4000 → 400 cm⁻¹ by default** (FTIR convention). An
489
+ **Axis** dropdown on the IR panel switches back to 400 → 4000; the choice
490
+ is remembered (`viz.ir_axis` in user settings). `plot_ir_spectrum()` gains
491
+ `descending=`.
492
+ - **Energy-level diagram hides core orbitals by default** — occupied
493
+ orbitals more than 50 eV below the HOMO (e.g. water's O 1s) no longer set
494
+ the Y range and squeeze the valence levels into a sliver; the subtitle says
495
+ how many are hidden and a **Show core orbitals** checkbox restores them.
496
+ The HOMO–LUMO gap label no longer overlaps the axis labels.
497
+ - **Dipole arrow convention** — the Mulliken panel says which end the arrow
498
+ head marks and offers both conventions (− → +, IUPAC/physics, default; or
499
+ + → −, the chemistry crossed arrow), remembered as `viz.dipole_arrow`.
500
+ - **Frequency card** — title reads "H2O · B3LYP/6-31G* (RKS)"; H and G are
501
+ shown with their thermal correction vs E in kJ/mol instead of an absolute
502
+ kJ/mol value.
503
+ - **Less duplication, tidier layout** — viewers no longer repeat the molecule
504
+ facts in a "Molecule Information" box; the launcher notebook drops its
505
+ duplicate "QuantUI" heading; result tables are compact and left-aligned;
506
+ the empty Calculate tab no longer reserves a blank viewer block.
507
+ - **Esc closes the Help panel** (as does its Close button).
508
+ - **Clearer controls** — no more truncated labels or "?.." buttons; PES atom
509
+ chips read "O1"; XYZ table headers line up; a **Done** button closes the
510
+ molecule editor; the Help panel has a **Close** button; System Settings
511
+ groups all settings in one card and says PlotlyMol; the activity indicator
512
+ is a neutral status chip; History, Compare and the Analysis heading show
513
+ readable times ("2026-10-25 04:31").
514
+ - **Context-aware extras** — the spin-state helper appears only for molecules
515
+ with a transition metal; "Use mode → new Frequency calc" only when there
516
+ are imaginary modes; Analysis panels that don't apply say what they need in
517
+ their title; dark themes give 3D viewers the panel colour (also in PNG
518
+ exports) instead of black.
519
+ - `import quantui` no longer loads numpy, RDKit, ASE, Plotly, IPython or
520
+ requests; every public name is resolved when first used. `quantui`
521
+ command-line tools and the batch worker start in a fraction of the time,
522
+ which matters on cluster login nodes (slow shared filesystems, per-user
523
+ thread limits).
524
+
525
+ ### Fixed
526
+
527
+ - **"Copy path" in the browser viewer** no longer raises: Pyodide cannot
528
+ start the thread that resets the label, so the label just stays.
529
+ - **`quantui-batch check` prints a fix hint only under a failed or warning
530
+ line.** Passing lines showed their hint too (`[ok ] image …` followed by
531
+ "ask your instructor: the course image is missing or unreadable"), which
532
+ read as an error to students.
533
+ - **Generate Isosurface works again for molecular orbitals** — it failed for
534
+ every MO with `unexpected keyword argument 'esp_range'` since the ESP-map
535
+ release. The orbital gallery was not affected.
536
+ - **Edit Structure stays available after a molecule loads** — loading or
537
+ changing a molecule rebuilt the Calculate panel without it.
538
+ - **Mulliken viewer** opens charge-coloured with the dipole arrow when those
539
+ boxes are ticked, instead of only after a box was toggled.
540
+ - **Sliders are visible on every theme** (ipywidgets 8 sliders were unstyled:
541
+ no visible track, and a white handle on the Light theme), and the selected
542
+ option of toggle-button groups and History filter chips is now highlighted.
543
+ - The QM pre-optimization checkbox no longer keeps the PES Scan wording
544
+ ("…before scan") after switching to another calculation type.
545
+ - The Files tab re-lists its folder when opened, so newly saved results show
546
+ without clicking Refresh.
547
+ - PES Scan: suggested Start/Stop values are rounded (0.001 Å / 0.1°) and the
548
+ unit label sits after Stop rather than after Points.
549
+ - **Time-estimate basis-function counts** — the per-element table behind
550
+ `calc_log.count_basis_functions` had drifted from PySCF for 75 entries
551
+ (every element in def2-TZVP, e.g. H 14 instead of 6; Li/Be and Na–Ar in
552
+ the 6-31G*, cc-pV*Z and def2-SVP rows; Al–Ar in 3-21G/6-31G). It is now
553
+ generated from PySCF's AO counts and a test checks every entry. History
554
+ records logged before this keep their old `n_basis`, so estimates for
555
+ def2-TZVP and second-row/heavier molecules settle as new runs are logged.
556
+ - **CPU image no longer overrides a caller's `QUANTUI_RESULTS_DIR` /
557
+ `QUANTUI_FREQ_PARALLEL`** (M-BATCH2 B2.12). `apptainer/quantui.def`
558
+ hard-exported both, so a site module or job script setting either was
559
+ silently clobbered inside the container. Both are now defaults
560
+ (`${VAR:-default}`), matching `quantui-gpu.def`.
561
+
562
+ - History's **Refresh** button also saves batch jobs that finished since
563
+ the app started; before, they appeared only after a restart or a Cluster
564
+ Jobs refresh.
565
+ - The batch resource estimate knows def2-SVP, def2-TZVP and LANL2DZ (they
566
+ used a generic factor), treats `6-31G(d)` / `6-31G(d,p)` like `6-31G*` /
567
+ `6-31G**`, and adds walltime for TD-DFT runs with more than 10 states and
568
+ PES scans with more than 10 points.
569
+ - Batch `live.log` files no longer contain a copy of QuantUI's worker
570
+ source. PySCF writes the running script into its output at the log level
571
+ QuantUI uses; in a batch job that script is the worker (~900 lines per
572
+ calculation). PySCF's version and input summary are still logged.
573
+ - Batch job and folder names write Pople bases the usual way: `6-31G*` →
574
+ `6-31Gd`, `6-31G(d,p)` → `6-31Gdp`, `6-31+G*` → `6-31pGd` (was
575
+ `6-31Gx`, `6-31Gxdxpx`, …).
576
+ - `quantui submit` and `quantui-batch` refuse an XYZ file whose first line
577
+ gives a different atom count from the atoms listed (a cut-off or padded
578
+ file). The app still only warns, where you see the structure.
579
+ - `quantui submit` (and Resubmit) syncs job states with the SLURM queue before
580
+ checking the concurrent-job limit. With no app open, finished jobs stayed
581
+ "submitted" in the registry and kept counting, so after two submissions
582
+ every further one was refused.
583
+ - Generated SLURM scripts ask for one task with N CPUs
584
+ (`--ntasks=1 --cpus-per-task=N`) instead of N tasks, which is what the
585
+ single multi-threaded worker uses; a `SLURM_CPUS_PER_TASK` inherited from
586
+ the submitting allocation no longer sets the thread count.
587
+ - `apptainer exec --nv` is no longer used for CPU jobs, and the worker runs
588
+ the batch image's own `python` instead of the submitting process's
589
+ interpreter path, which need not exist in that image.
590
+ - SLURM jobs resume again after a resubmission. Since job folders got one
591
+ attempt folder per run, the checkpoint and the cached pre-opt geometry
592
+ were kept inside the attempt folder, which the next attempt never sees,
593
+ so killed geometry optimizations, PES scans and frequency runs restarted
594
+ from scratch. Both now live in the job folder.
595
+ - The geometry optimization before a Frequency calculation (app and batch)
596
+ now converges to 0.01 eV/Å instead of 0.05. Residual forces at 0.05 left
597
+ soft modes such as methyl rotors wrong, or imaginary (CHEM-3200 Lab 4).
598
+ Plain Geometry Opt and the pre-opt for other calc types are unchanged.
599
+ - When that pre-optimized Frequency run still finds an imaginary mode below
600
+ 20i cm⁻¹ (usually a methyl or other rotor stuck at its eclipsed saddle
601
+ point), QuantUI displaces along the mode, re-optimizes and repeats the
602
+ frequencies once (app and batch). The result card and `result.json`
603
+ (`spectra.ir.imaginary_mode_retry`) say what was done; a mode still
604
+ imaginary after the retry is reported, not retried again.
605
+ - **Viewer installers: the shortcut opened and closed a console without
606
+ starting anything.** `quantui view` looked for the `voila` command on
607
+ `PATH`, which a shortcut launch of an unactivated install does not set; it
608
+ printed "Voilà is not installed or not on PATH" and exited. It now runs
609
+ Voilà as `python -m voila` from its own interpreter and puts the install's
610
+ folders on `PATH` for the server. The Windows shortcut runs through
611
+ `cmd /c ... || pause`, so any future failure stays on screen. Stopping
612
+ `quantui view` now stops Voilà too, instead of leaving it serving. The
613
+ installer CI smoke test starts the viewer the way a shortcut does and
614
+ fetches a page (it previously only ran `quantui view --help`).
615
+
616
+ - History → "View Results" / "View Analysis" navigated by fixed tab index, so
617
+ with the Cluster Jobs tab visible they landed one tab early. They now look
618
+ the tab up by name.
619
+ - Background renders (vibrational animation, isosurface, export) and the
620
+ activity-light timer fall back to running inline when threads are
621
+ unavailable instead of leaving the panel stuck.
622
+
10
623
  ## [0.10.0] - 2026-10-03
11
624
 
12
625
  ### Added
@@ -349,7 +962,7 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
349
962
  - **NMR stick plot** with a ¹H/¹³C nucleus toggle, mirroring the existing
350
963
  IR/UV-Vis panels; UV-Vis gains λ min/max axis-bound inputs.
351
964
  - **Click-to-measure atom selection** on the Analysis-tab viewer — click 2, 3,
352
- or 4 atoms to read a bond length, angle, or dihedral, GaussView-style
965
+ or 4 atoms to read a bond length, angle, or dihedral
353
966
  (py3Dmol only for now; the Plotly viewer shows an explanatory message
354
967
  instead of a silent no-op).
355
968
  - **Interactive XYZ input.** An atom-row builder and a cleanup-coordinates
@@ -550,7 +1163,7 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
550
1163
  - **Tunable isosurface resolution** — Coarse/Medium/Fine/Very fine grids,
551
1164
  remembered between launches.
552
1165
  - **Live isosurface controls**: isovalue, opacity and a colour-scheme dropdown
553
- (GaussView orange/blue, Avogadro/Jmol red/blue, journal yellow/blue, and
1166
+ (orange/blue, Avogadro/Jmol red/blue, journal yellow/blue, and
554
1167
  more). All three update the existing viewer without recomputing anything, so
555
1168
  the orientation you rotated into is preserved.
556
1169
  - **The isovalue is explained in chemical terms.** Beside the slider, QuantUI
@@ -1093,7 +1706,11 @@ Initial public scaffolding of the QuantUI package: `quantui` package with
1093
1706
  `calculator.py`, basic notebook launcher, Apptainer container definition,
1094
1707
  MIT license, and project metadata.
1095
1708
 
1096
- [Unreleased]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.10.0...HEAD
1709
+ [Unreleased]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.13.0...HEAD
1710
+ [0.13.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.12.0...v0.13.0
1711
+ [0.12.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.11.1...v0.12.0
1712
+ [0.11.1]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.11.0...v0.11.1
1713
+ [0.11.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.10.0...v0.11.0
1097
1714
  [0.10.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.9.0...v0.10.0
1098
1715
  [0.9.0]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.8.2...v0.9.0
1099
1716
  [0.8.2]: https://github.com/The-Schultz-Lab/QuantUI/compare/v0.8.1...v0.8.2