aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabui2021-12-06 17:18:02 +0300
committerBonfaceKilz2021-12-13 15:48:00 +0300
commit744d7290d8b7eb32546692efe870bfc4e85d5e4a (patch)
tree53ab048fac162db9285564027dd483e167c1dfc3
parentc5e4153a9a7bb3ce07f406773bbbf95dc729b32b (diff)
downloadgenenetwork2-744d7290d8b7eb32546692efe870bfc4e85d5e4a.tar.gz
modify template to show error generated
-rw-r--r--wqflask/wqflask/templates/test_wgcna_results.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/test_wgcna_results.html b/wqflask/wqflask/templates/test_wgcna_results.html
index 1dddd393..952f479e 100644
--- a/wqflask/wqflask/templates/test_wgcna_results.html
+++ b/wqflask/wqflask/templates/test_wgcna_results.html
@@ -70,6 +70,10 @@
}
</style>
<div class="container">
+ {% if error!='null' %}
+ <h4 style="text-align: center;">{{error}}</h4>
+
+ {% else %}
<div>
<div >
<h2 style="text-align:center">Soft Thresholds </h2>
@@ -110,6 +114,9 @@
<table id="phenos" class="display" width="40vw" ></table>
</div>
</div>
+
+{% endif %}
+
</div>
{% endblock %}