Repository navigation
Commit 4f9cbb0
tests/parsers: enforce len(TEVEC) <= len(GEOMTRACE)
GeomTracePropertyPanel plots any PropTSVector<Geometry Step> alongside
GEOMTRACE, and OnPointClick passes the curve index straight to
GTStepCmd. An index past the last GEOMTRACE frame trips
PropTSVecTable::value()'s bounds check and the atoms collapse to the
origin -- so a code that prints a per-cycle energy but not per-cycle
geometries must not map that energy to TEVEC.
CLAUDE.md records the rule and two mopac cases mention it in comments,
but nothing checked it. It is a crash, not a cosmetic one, and it is
exactly the kind of thing that only shows up when someone clicks a
point on the plot.
Each firing of a Frequency=all entry contributes one step, so the step
count is the number of blocks whose script emitted that key. Verified
the check is live rather than dead code: relaxing it to >= makes five
cases fail (nwchem-h2o-opt, orca-h2o-opt, orca-h2o-optfreq,
orca-oh-uhf and one more), i.e. those really do carry both keys and are
really being compared.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFMUNbw2UpRPmgsqviAowb1 parent dba9583 commit 4f9cbb0
2 files changed
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1179 | 1179 | | |
1180 | 1180 | | |
1181 | 1181 | | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
304 | 334 | | |
305 | 335 | | |
306 | 336 | | |
| |||
0 commit comments