From 3c341b425dad8adf532c848f81e2c867bc647b5c Mon Sep 17 00:00:00 2001
From: Alexander Kabui
Date: Thu, 24 Mar 2022 19:09:58 +0300
Subject: rename template to gn3_wgcna_results
---
wqflask/wqflask/templates/gn3_wgcna_results.html | 165 ++++++++++++++++++++++
wqflask/wqflask/templates/test_wgcna_results.html | 165 ----------------------
wqflask/wqflask/views.py | 2 +-
3 files changed, 166 insertions(+), 166 deletions(-)
create mode 100644 wqflask/wqflask/templates/gn3_wgcna_results.html
delete mode 100644 wqflask/wqflask/templates/test_wgcna_results.html
diff --git a/wqflask/wqflask/templates/gn3_wgcna_results.html b/wqflask/wqflask/templates/gn3_wgcna_results.html
new file mode 100644
index 00000000..952f479e
--- /dev/null
+++ b/wqflask/wqflask/templates/gn3_wgcna_results.html
@@ -0,0 +1,165 @@
+{% extends "base.html" %}
+{% block title %}WCGNA results{% endblock %}
+{% block content %}
+
+
+
+
+
+
+
+
+
+ {% if error!='null' %}
+
{{error}}
+
+ {% else %}
+
+
+
Soft Thresholds
+
+
+ {% for key, value in results["data"]["output"]["soft_threshold"].items()%}
+
+
{{key}}
+ {% for val in value %}
+
{{val|round(3)}}
+ {% endfor %}
+
+ {% endfor %}
+
+
+
+
+
+ {% if image["image_generated"] %}
+
+
+
+
+ {% endif %}
+
+
+
+
+
+
+
Phenotype modules
+
+
+
+
+
+{% endif %}
+
+
+
+{% endblock %}
+
+{% block js %}
+
+
+
+
+
+
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/wqflask/wqflask/templates/test_wgcna_results.html b/wqflask/wqflask/templates/test_wgcna_results.html
deleted file mode 100644
index 952f479e..00000000
--- a/wqflask/wqflask/templates/test_wgcna_results.html
+++ /dev/null
@@ -1,165 +0,0 @@
-{% extends "base.html" %}
-{% block title %}WCGNA results{% endblock %}
-{% block content %}
-
-
-
-
-
-
-
-
-
- {% if error!='null' %}
-
{{error}}
-
- {% else %}
-
-
-
Soft Thresholds
-
-
- {% for key, value in results["data"]["output"]["soft_threshold"].items()%}
-
-
{{key}}
- {% for val in value %}
-
{{val|round(3)}}
- {% endfor %}
-
- {% endfor %}
-
-
-
-
-
- {% if image["image_generated"] %}
-
-
-
-
- {% endif %}
-
-
-
-
-
-
-
Phenotype modules
-
-
-
-
-
-{% endif %}
-
-
-
-{% endblock %}
-
-{% block js %}
-
-
-
-
-
-
-
-
-
-{% endblock %}
\ No newline at end of file
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index b2cf95fb..31e31875 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -345,7 +345,7 @@ def wcgna_setup():
def wcgna_results():
"""call the gn3 api to get wgcna response data"""
results = run_wgcna(dict(request.form))
- return render_template("test_wgcna_results.html", **results)
+ return render_template("gn3_wgcna_results.html", **results)
@app.route("/ctl_setup", methods=('POST',))
def ctl_setup():
--
cgit v1.2.3