Spaces:
Sleeping
Sleeping
Tengo Gzirishvili Claude Opus 4.8 commited on
Commit ·
b465637
1
Parent(s): 92ef1c5
feat: cite TuringDNA (turingdna.com) in every tool's methods paragraph
Browse filesThe methods/citation box (DE, CRISPR, Primer, Plasmid — all via tdRenderMethods)
cited the underlying papers but not the platform. Append a platform citation so
a researcher's Methods section credits TuringDNA: "Analyses were performed with
TuringDNA (turingdna.com)." Rendered as a link; stripped to plain "turingdna.com"
in the copy-paste text. One change in tdRenderMethods covers all four tools.
Cache-buster -> v=20260607-cite.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- dee/static/app.js +5 -0
- dee/static/index.html +2 -2
dee/static/app.js
CHANGED
|
@@ -3793,6 +3793,11 @@ function tdRenderMethods(boxId, pills, methodsHtml) {
|
|
| 3793 |
if (!box) return;
|
| 3794 |
if (!methodsHtml) { box.hidden = true; box.innerHTML = ''; return; }
|
| 3795 |
box.hidden = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3796 |
const esc = (s) => (typeof escapeHtml === 'function' ? escapeHtml(String(s)) : String(s));
|
| 3797 |
const pillHtml = (pills || [])
|
| 3798 |
.filter((p) => p && p[1] != null && p[1] !== '')
|
|
|
|
| 3793 |
if (!box) return;
|
| 3794 |
if (!methodsHtml) { box.hidden = true; box.innerHTML = ''; return; }
|
| 3795 |
box.hidden = false;
|
| 3796 |
+
// Cite the platform itself (in addition to the underlying methods papers),
|
| 3797 |
+
// so a researcher's Methods section credits TuringDNA. Appended once here so
|
| 3798 |
+
// every tool's methods paragraph carries it; the <a> is stripped for the
|
| 3799 |
+
// plain-text copy, leaving "turingdna.com".
|
| 3800 |
+
methodsHtml += ' Analyses were performed with TuringDNA (<a href="https://turingdna.com" target="_blank" rel="noopener">turingdna.com</a>).';
|
| 3801 |
const esc = (s) => (typeof escapeHtml === 'function' ? escapeHtml(String(s)) : String(s));
|
| 3802 |
const pillHtml = (pills || [])
|
| 3803 |
.filter((p) => p && p[1] != null && p[1] !== '')
|
dee/static/index.html
CHANGED
|
@@ -22,7 +22,7 @@
|
|
| 22 |
<!-- ?v= query bumps invalidate browser + iframe asset caches when app.css /
|
| 23 |
app.js change. Bump these numbers whenever you ship a frontend update —
|
| 24 |
without them, users keep getting the stale file for up to a week. -->
|
| 25 |
-
<link rel="stylesheet" href="/static/app.css?v=20260607-
|
| 26 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v=2" />
|
| 27 |
<link rel="apple-touch-icon" href="/static/favicon.svg?v=2" />
|
| 28 |
<!-- Mol* (PDBe) viewer for AlphaFold structure embed. Loaded async; the
|
|
@@ -1669,6 +1669,6 @@
|
|
| 1669 |
<!-- Cloning reference data must load before app.js so the Designer
|
| 1670 |
can read VECTORS / ENZYMES / CLONING_METHODS / TAGS / LINKERS. -->
|
| 1671 |
<script src="/static/cloning_db.js?v=20260530-ui-polish" defer></script>
|
| 1672 |
-
<script src="/static/app.js?v=20260607-
|
| 1673 |
</body>
|
| 1674 |
</html>
|
|
|
|
| 22 |
<!-- ?v= query bumps invalidate browser + iframe asset caches when app.css /
|
| 23 |
app.js change. Bump these numbers whenever you ship a frontend update —
|
| 24 |
without them, users keep getting the stale file for up to a week. -->
|
| 25 |
+
<link rel="stylesheet" href="/static/app.css?v=20260607-cite" />
|
| 26 |
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg?v=2" />
|
| 27 |
<link rel="apple-touch-icon" href="/static/favicon.svg?v=2" />
|
| 28 |
<!-- Mol* (PDBe) viewer for AlphaFold structure embed. Loaded async; the
|
|
|
|
| 1669 |
<!-- Cloning reference data must load before app.js so the Designer
|
| 1670 |
can read VECTORS / ENZYMES / CLONING_METHODS / TAGS / LINKERS. -->
|
| 1671 |
<script src="/static/cloning_db.js?v=20260530-ui-polish" defer></script>
|
| 1672 |
+
<script src="/static/app.js?v=20260607-cite" defer></script>
|
| 1673 |
</body>
|
| 1674 |
</html>
|