Repository navigation
Commit 7423a87
committed
[fix.fields.rho.D8+] the box was sized for the default contour and the slider walks below it
Ivan sent a zoomed screenshot: flat cut faces on the blue and red lobes.
I had a plausible story ready — the DB serves cubes on METHOD currency, not
producer currency, so yesterday's cubes computed before this morning's
adaptive-box fix would still be served under an unchanged 'gasteiger' label.
Good story. I pulled the oldest cached cube and measured it instead of acting
on it: wall 3.75 kcal/mol against a 10.00 contour. It closes cleanly. The story
was wrong and would have had me invalidating a cache for nothing.
THE REAL CAUSE is a hole I opened this morning. The backend grows the box until
the contour closes — at the FIXED contour. The UI slider then multiplies that
contour by 10^[-1,1]. So the box is sized for 10 kcal/mol and the slider can
ask for 1.0, which is below the 3.75 the field still has at the box wall, and
the surface exits through the side and is drawn as a flat face.
Computed exactly: truncation begins at slider -0.43. THE BOTTOM 29% OF THE
SLIDER PRODUCED CUT-OFF LOBES. Not an edge case — a third of the control.
The adaptive box was the right idea aimed one value too high. It now sizes for
the LOWEST contour the slider can reach (iso x 0.1). Classical fields cost
~0.1 s so this is free; measured after the change, pad grows 4 -> 6-10 A and
the wall lands under the floor contour on both fields for both molecules, so
the whole slider range closes.
The quantum grid belongs to pyscf's cubegen and cannot be grown the same way,
so those report instead: the readout recomputes closure against the CURRENT
slider position rather than the value the box was sized for, and says "OPEN
SURFACE — field reaches X at the box edge, so the lobes are cut off."
CACHE: I deleted the 22 mep rows by hand. The geometry of the cube changed
while its METHOD label did not, and the servable view keys on method — which
is correct for its purpose (an edit to a log line must not empty the cache) but
has no category for "same method, different output geometry". Worth raising
with the session that owns that view; grid parameters belong in servability.
warm-fields.sh: precompute every field for every bundled molecule THROUGH THE
APP. The durable cache is keyed on sha256(molfile) and the app's molfile is
reconstructed by mol* from scene loci, so warming with molfiles I generate from
SMILES writes rows the app will never hit. Driving the real UI makes every key
a key the app will ask for, by construction.1 parent 6a04662 commit 7423a87
3 files changed
Lines changed: 160 additions & 6 deletions
File tree
- backend
- scripts
- src/app.frontend.facets.molstar-rdkit.editable/facets/field-wells
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
699 | 699 | | |
700 | 700 | | |
701 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
702 | 713 | | |
703 | 714 | | |
704 | 715 | | |
| |||
738 | 749 | | |
739 | 750 | | |
740 | 751 | | |
741 | | - | |
| 752 | + | |
742 | 753 | | |
743 | 754 | | |
744 | 755 | | |
| |||
784 | 795 | | |
785 | 796 | | |
786 | 797 | | |
787 | | - | |
| 798 | + | |
| 799 | + | |
788 | 800 | | |
789 | 801 | | |
790 | 802 | | |
| |||
811 | 823 | | |
812 | 824 | | |
813 | 825 | | |
814 | | - | |
| 826 | + | |
815 | 827 | | |
816 | 828 | | |
817 | 829 | | |
| |||
844 | 856 | | |
845 | 857 | | |
846 | 858 | | |
847 | | - | |
| 859 | + | |
| 860 | + | |
848 | 861 | | |
849 | 862 | | |
850 | 863 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
450 | 457 | | |
451 | 458 | | |
452 | 459 | | |
| |||
0 commit comments