aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/geneweaver_page.html
diff options
context:
space:
mode:
authorArun Isaac2023-12-29 18:55:37 +0000
committerArun Isaac2023-12-29 19:01:46 +0000
commit204a308be0f741726b9a620d88fbc22b22124c81 (patch)
treeb3cf66906674020b530c844c2bb4982c8a0e2d39 /gn2/wqflask/templates/geneweaver_page.html
parent83062c75442160427b50420161bfcae2c5c34c84 (diff)
downloadgenenetwork2-204a308be0f741726b9a620d88fbc22b22124c81.tar.gz
Namespace all modules under gn2.
We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service.
Diffstat (limited to 'gn2/wqflask/templates/geneweaver_page.html')
-rw-r--r--gn2/wqflask/templates/geneweaver_page.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/geneweaver_page.html b/gn2/wqflask/templates/geneweaver_page.html
new file mode 100644
index 00000000..7687cb6a
--- /dev/null
+++ b/gn2/wqflask/templates/geneweaver_page.html
@@ -0,0 +1,35 @@
+{% extends "base.html" %}
+{% block title %}{% if wrong_input == "True" %}WebGestalt Error{% else %}Opening WebGestalt{% endif %}{% endblock %}
+{% block content %}
+ {% if wrong_input == "True" %}
+ <div class="container">
+ <h1>Error</h1>
+ <hr style="height: 1px; background-color: #A9A9A9;">
+ {% if chip_name == "mixed" %}
+ <h3>Sorry, the analysis was interrupted because your selections from GeneNetwork apparently include data from more than one array platform (i.e., Affymetrix U74A and M430 2.0). Most WebGestalt analyses assume that you are using a single array type and compute statistical values on the basis of that particular array. Please reselect traits from a signle platform and submit again.</h3>
+ {% elif chip_name == "not_microarray" %}
+ <h3>You need to select at least one microarray trait to submit.</hr>
+ {% elif '_NA' in chip_name %}
+ <h3>Sorry, the analysis was interrupted because your selections from GeneNetwork apparently include data from platform {{ chip_name }} which is unknown by GeneWeaver. Please reselect traits and submit again.</h3>
+ {% else %}
+ <h3>Sorry, an error occurred while submitting your traits to GeneWeaver.</h3>
+ {% endif %}
+ </div>
+ {% else %}
+ <div class="container">
+ <h3>Opening GeneWeaver...</h3>
+ </div>
+ <form method="post" action="http://ontologicaldiscovery.org/index.php?action=manage&cmd=importGeneSet" name="formODE">
+ {% for key in hidden_vars %}
+ <input type="hidden" name="{{ key }}" value="{{ hidden_vars[key] }}">
+ {% endfor %}
+ </form>
+ {% endif %}
+{% endblock %}
+{% block js %}
+{% if wrong_input == "False" %}
+<script type="text/javascript">
+ setTimeout('document.formODE.submit()', 1000);
+</script>
+{% endif %}
+{% endblock %} \ No newline at end of file