edohollou Claude Sonnet 4.6 commited on
Commit ·
4e2d7ac
1
Parent(s): 94b6527
Remove outdated ESM1b/ΔΔG coverage warning
Browse filesFull proteome precomputation is complete — the banner noting
'3 demo proteins' is no longer accurate.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- index.html +0 -14
index.html
CHANGED
|
@@ -220,7 +220,6 @@ body[data-view="results"] .header-back { display: flex; }
|
|
| 220 |
#results-header { padding: 10px 16px 0; flex-shrink: 0; }
|
| 221 |
.results-title { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
|
| 222 |
.results-subtitle { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); }
|
| 223 |
-
.coverage-note { font-size: 10.5px; font-family: var(--font-mono); color: #8a5e00; background: #fdf3e8; border: 1px solid #f0d5a8; border-radius: 4px; padding: 3px 8px; margin-top: 5px; display: inline-block; }
|
| 224 |
#table-scroll { overflow: auto; flex: 1; outline: none; }
|
| 225 |
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
|
| 226 |
thead th {
|
|
@@ -1456,19 +1455,6 @@ function showResults(rows, query) {
|
|
| 1456 |
: `${rows.length.toLocaleString()} variants across ${proteins.length} proteins`;
|
| 1457 |
document.getElementById('results-subtitle').textContent = `Query: ${query.trim().split('\n').join(', ')}`;
|
| 1458 |
|
| 1459 |
-
// Show coverage note when protein has no ESM1b/ΔΔG (check first row)
|
| 1460 |
-
const existingNote = document.getElementById('coverage-note');
|
| 1461 |
-
if (existingNote) existingNote.remove();
|
| 1462 |
-
if (rows.length > 0) {
|
| 1463 |
-
const hasEsm = rows.some(r => r.esm1bLLR !== null && r.esm1bLLR !== undefined && r.esm1bLLR !== 0);
|
| 1464 |
-
if (!hasEsm) {
|
| 1465 |
-
const note = document.createElement('div');
|
| 1466 |
-
note.id = 'coverage-note';
|
| 1467 |
-
note.className = 'coverage-note';
|
| 1468 |
-
note.textContent = 'AlphaMissense: full proteome · ESM1b & ΔΔG: 3 demo proteins — full precomputation in progress';
|
| 1469 |
-
document.getElementById('results-subtitle').after(note);
|
| 1470 |
-
}
|
| 1471 |
-
}
|
| 1472 |
|
| 1473 |
// Landscape banner — inject for single-protein queries
|
| 1474 |
const existingBanner = document.getElementById('landscape-banner');
|
|
|
|
| 220 |
#results-header { padding: 10px 16px 0; flex-shrink: 0; }
|
| 221 |
.results-title { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
|
| 222 |
.results-subtitle { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); }
|
|
|
|
| 223 |
#table-scroll { overflow: auto; flex: 1; outline: none; }
|
| 224 |
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
|
| 225 |
thead th {
|
|
|
|
| 1455 |
: `${rows.length.toLocaleString()} variants across ${proteins.length} proteins`;
|
| 1456 |
document.getElementById('results-subtitle').textContent = `Query: ${query.trim().split('\n').join(', ')}`;
|
| 1457 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1458 |
|
| 1459 |
// Landscape banner — inject for single-protein queries
|
| 1460 |
const existingBanner = document.getElementById('landscape-banner');
|