aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/show_trait_details.html
diff options
context:
space:
mode:
authorzsloan2024-01-09 17:34:25 +0000
committerzsloan2024-01-09 17:34:25 +0000
commitf5066b2dd2043002d2415fd44e70bf01e506d471 (patch)
tree93f01c443a5b23b606d85bf8eacf36446c2d8b5b /gn2/wqflask/templates/show_trait_details.html
parenta5210ccc1699ee5a0362d2975809039242dcdfa6 (diff)
downloadgenenetwork2-f5066b2dd2043002d2415fd44e70bf01e506d471.tar.gz
Fix the way accession_id is set + update info link on correlation page
Diffstat (limited to 'gn2/wqflask/templates/show_trait_details.html')
-rw-r--r--gn2/wqflask/templates/show_trait_details.html10
1 files changed, 1 insertions, 9 deletions
diff --git a/gn2/wqflask/templates/show_trait_details.html b/gn2/wqflask/templates/show_trait_details.html
index 8447fbc7..dc5a49ce 100644
--- a/gn2/wqflask/templates/show_trait_details.html
+++ b/gn2/wqflask/templates/show_trait_details.html
@@ -59,15 +59,7 @@
<tr>
<td><b>Database</b></td>
<td>
- {% if dataset.type != "ProbeSet" %}
- <a href="https://info.genenetwork.org/species/source.php?SpeciesName={{ dataset.group.species }}&InbredSetName={{ dataset.group.name }}" target="_blank">
- {{ dataset.fullname }}
- </a>
- {% else %}
- <a href="https://info.genenetwork.org/infofile/source.php?GN_AccesionId={{ dataset.accession_id }}" target="_blank">
- {{ dataset.fullname }}
- </a>
- {% endif %}
+ <a href='https://info.genenetwork.org/{% if dataset.type != "ProbeSet" %}species/source.php?SpeciesName={{ dataset.group.species }}&InbredSetName={{ dataset.group.name }}{% else %}infofile/source.php?GN_AccesionId={{ dataset.accession_id.value }}{% endif %}' target="_blank">{{ dataset.fullname }}</a>
</td>
</tr>
{% if this_trait.probe_set_specificity %}