aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/show_trait_details.html
diff options
context:
space:
mode:
Diffstat (limited to 'gn2/wqflask/templates/show_trait_details.html')
-rw-r--r--gn2/wqflask/templates/show_trait_details.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/gn2/wqflask/templates/show_trait_details.html b/gn2/wqflask/templates/show_trait_details.html
index 9c12393d..8447fbc7 100644
--- a/gn2/wqflask/templates/show_trait_details.html
+++ b/gn2/wqflask/templates/show_trait_details.html
@@ -59,13 +59,15 @@
<tr>
<td><b>Database</b></td>
<td>
- <a href="http://gn1.genenetwork.org/webqtl/main.py?FormID=sharinginfo&InfoPageName={{ dataset.name }}" target="_blank">
+ {% 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>
- <br/>
- <a href="{{ url_for('get_dataset', name=dataset.name) }}" target="_blank">
- GN2 Link: {{ dataset.fullname }}
+ {% else %}
+ <a href="https://info.genenetwork.org/infofile/source.php?GN_AccesionId={{ dataset.accession_id }}" target="_blank">
+ {{ dataset.fullname }}
</a>
+ {% endif %}
</td>
</tr>
{% if this_trait.probe_set_specificity %}