aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gn2/wqflask/templates/genotype.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/templates/genotype.html b/gn2/wqflask/templates/genotype.html
index bce3a808..7ed1ab70 100644
--- a/gn2/wqflask/templates/genotype.html
+++ b/gn2/wqflask/templates/genotype.html
@@ -25,7 +25,7 @@
<div class="container">
<table class="table">
- {% if metadata.dataset.group and metadata.species %}
+ {% if metadata.dataset and metadata.dataset.group and metadata.species %}
<tr>
<td><b>Group</b></td>
<td>{{ metadata.dataset.group }}: {{ metadata.species.speciesName }}</td>