Skip to content

Commit 43d21f9

Browse files
committed
[fix.physics.rho.D8+] the refusal named three remedies and the panel offered none of them
Ivan said debug, so I drove the button instead of reading around it. Pressing Compute on 1XKK — the structure I added yesterday specifically so the halogen audit would have a halogen — returns: "66 atoms in def2-svp is 698 basis functions, predicted ~160 s against a 90 s budget. Use a smaller basis (sto-3g is ~31 s here), raise max_seconds deliberately, or trim the ligand." That message is correct, specific, and names three ways out. The panel had a Compute button and nothing else: no basis control, no budget control, and post() sent no basis at all so the backend always took its def2-svp default. An honest refusal that prescribes an action the interface cannot perform is a dead end wearing the manners of a good error message — and on this molecule it was the ONLY outcome available. The Fields panel three sections up has had exactly this three-option basis selector for a while, so the app already knew the answer in another room. Fixed by giving the panel the choice the refusal already prescribes: a basis selector beside Compute, def2-SVP default, passed through to /surface/mep, and the running status now names which basis is being solved so the number and its method never get separated. The larger shape, and it is the same one as yesterday's default structure and this morning's wrong tab: I keep shipping things that are correct and unreachable. Here the compute worked, the refusal worked, the wording was better than most, and the user still could not get an answer. [coord] Another session is live in this exact file — ligandGeneration moved under my edit mid-write and my first tsc failed on symbols that existed a minute earlier. Their currency guard and my basis control are independent hunks; committed immediately rather than held, since an uncommitted hunk in a file two sessions are writing is the one that disappears. NEXT: verifying that sto-3g actually completes on lapatinib and resolves the halogen audit's UNMEASURED rows into real verdicts — the run is in flight; if it also refuses, the budget, not the basis, is the thing to expose.
1 parent c62187d commit 43d21f9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

  • src/app.frontend.facets.molstar-rdkit.editable

‎src/app.frontend.facets.molstar-rdkit.editable/index.html‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,8 @@
791791
}
792792
.ligand-depiction svg { display: block; max-width: 100%; height: auto; cursor: pointer; border-radius: 5px; }
793793
.bond-atlas-block { margin-top: var(--sp-4, 16px); padding-top: var(--sp-3, 12px); border-top: 1px solid var(--border); }
794+
.phys-basis-label { display: inline-flex; align-items: center; gap: var(--sp-1, 4px); color: var(--text-3); font-size: var(--fs-2xs, 9px); letter-spacing: var(--track-wide, .08em); text-transform: uppercase; }
795+
.phys-basis-label select { text-transform: none; letter-spacing: normal; }
794796
.halogen-block { margin-top: var(--sp-3, 12px); padding-top: var(--sp-3, 12px); border-top: 1px dashed var(--border); }
795797
.halogen-note-inline { color: var(--text-3); font-size: var(--fs-2xs, 9px); letter-spacing: var(--track-wide, .08em); text-transform: uppercase; }
796798
.halogen-row { border-left: 2px solid var(--border-strong); padding: var(--sp-2, 8px) 0 var(--sp-2, 8px) var(--sp-2, 8px); margin-bottom: var(--sp-2, 8px); }
@@ -1471,6 +1473,13 @@ <h2>Ligand physics</h2>
14711473
<div class="phys-block-head">
14721474
<h3>σ-hole · surface electrostatics</h3>
14731475
<div class="phys-actions">
1476+
<label class="phys-basis-label">Basis
1477+
<select id="phys-basis">
1478+
<option value="def2-svp" selected>def2-SVP · has iodine</option>
1479+
<option value="6-31g">6-31G · faster</option>
1480+
<option value="sto-3g">STO-3G · fastest</option>
1481+
</select>
1482+
</label>
14741483
<button type="button" class="phys-btn" id="phys-run-surface">Compute</button>
14751484
<button type="button" class="field-cancel" id="phys-cancel" hidden>■ Cancel</button>
14761485
</div>

0 commit comments

Comments
 (0)