diff options
author | zsloan | 2021-09-10 19:02:10 +0000 |
---|---|---|
committer | zsloan | 2021-09-10 19:02:20 +0000 |
commit | d76e1ec30195074cf8dfd0f8396285d31faa8984 (patch) | |
tree | f4f7fb3d101fe3397d8acee37b4544205dec0083 /wqflask | |
parent | f51569c80a4e00ad7dcd99ed9bf3ed6d9aaf4051 (diff) | |
download | genenetwork2-d76e1ec30195074cf8dfd0f8396285d31faa8984.tar.gz |
Fix issue with the way the template was checking if genofile_string was set; it was receiving an empty string, so the previous logic made it think there was a genofile string when there wasn't one
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/mapping_results.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index 7f865056..7a222d0c 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -73,7 +73,7 @@ <b>Gene Symbol:</b> <i>{{ this_trait.symbol }}</i><br> <b>Location:</b> Chr {{ this_trait.chr }} @ {{ this_trait.mb }} Mb<br> {% endif %} - {% if genofile_string is defined %} + {% if genofile_string != "" %} <b>Genotypes:</b> {{ genofile_string.split(":")[1] }} {% endif %} <br> |