Download pair.html from RHCPP/saranga: direct link, hf CLI and curl.
- Browser
- Download file 3.39 kB
-
https://huggingface.co/spaces/RHCPP/saranga/resolve/main/pair.html
- Command line
-
hf download hf://spaces/RHCPP/saranga/pair.html
-
curl -L -o pair.html https://huggingface.co/spaces/RHCPP/saranga/resolve/main/pair.html
3.39 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Pair alignment — SARANGA</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <link rel="stylesheet" href="css/styles.css" /> | |
| <link rel="stylesheet" href="vendor/katex/katex.min.css" /> | |
| </head> | |
| <body> | |
| <header class="site"> | |
| <h1><a href="index.html" style="color:inherit;text-decoration:none">SARANGA Database</a></h1> | |
| <span class="crumbs"> | |
| <a href="index.html">Home</a> | |
| › | |
| <a href="pairs.html">pair alignments</a> | |
| </span> | |
| </header> | |
| <main> | |
| <div style="margin:6px 0 10px"> | |
| <a href="pairs.html" style="font-size:13px;color:#34495e;text-decoration:none"> | |
| ← Back to pair alignments | |
| </a> | |
| </div> | |
| <h2 id="pair-title">Loading…</h2> | |
| <div id="pair-header" class="pair-header"></div> | |
| <div class="tab-bar" style="margin-top:18px"> | |
| <button id="tabbtn-matches" class="active">Matches</button> | |
| <button id="tabbtn-graph">Alignment graph</button> | |
| </div> | |
| <div id="tab-matches" class="tab-pane active"> | |
| <h3 id="matches-heading" style="margin-top:18px;font-size:16px">Match entries</h3> | |
| <div id="matches"></div> | |
| </div> | |
| <div id="tab-graph" class="tab-pane" style="margin-top:14px"> | |
| <div id="graph-actions" style="display:flex;gap:10px;align-items:center;margin-bottom:10px"> | |
| <a id="graph-open-tab" href="#" target="_blank" rel="noopener" | |
| style="padding:6px 14px;border:1px solid var(--border);border-radius:4px;background:#34495e;color:#fff;text-decoration:none;font-size:13px"> | |
| Open in new tab | |
| </a> | |
| <button id="graph-force-rebuild" | |
| style="padding:6px 14px;border:1px solid var(--border);border-radius:4px;background:#fff;color:#222;cursor:pointer;font-size:13px"> | |
| Force rebuild | |
| </button> | |
| <label style="font-size:13px;display:flex;align-items:center;gap:6px"> | |
| mode: | |
| <select id="graph-mode" style="padding:4px 6px"> | |
| <option value="S" selected>S (shared only, recommended)</option> | |
| <option value="B">B (combined: A-only + shared + B-only)</option> | |
| <option value="C">C (side-by-side)</option> | |
| </select> | |
| </label> | |
| <span id="graph-status" style="font-size:12px;color:var(--muted)"></span> | |
| </div> | |
| <iframe id="graph-iframe" src="about:blank" | |
| style="width:100%;height:calc(100vh - 280px);min-height:600px;border:1px solid var(--border);background:#fff;border-radius:4px" | |
| loading="lazy"></iframe> | |
| <div style="margin-top:6px;font-size:11px;color:var(--muted)"> | |
| Alignment graph rendered on demand from both papers' JSONs + the alignment JSON via <code>/render_alignment</code>. | |
| Mode S shows ONLY the shared (matched) clusters as bicolor split rectangles — click any cluster for details. | |
| Mode B collapses matched node-groups into a single combined graph (3 columns: A-only, shared, B-only). | |
| Mode C draws the two papers side-by-side with cross-paper match links. | |
| </div> | |
| </div> | |
| </main> | |
| <script src="vendor/katex/katex.min.js"></script> | |
| <script src="vendor/katex/contrib/auto-render.min.js"></script> | |
| <script src="js/common.js"></script> | |
| <script src="js/pair.js"></script> | |
| </body> | |
| </html> | |