aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/webgestalt_page.html
blob: aea31fd856615fea141220078e4d664c7899937d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "index_page.html" %}
{% block title %}{% if wrong_input == "True" %}WebGestalt Error{% else %}Opening WebGestalt{% endif %}{% endblock %}
{% block content %}
  {% if wrong_input == "True" %}
  {{ header("Error") }}

  <div class="container">
    {% 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 WebGestalt. Please reselect traits and submit again.</h3>
    {% else %}
    <h3>Sorry, an error occurred while submitting your traits to WebGestalt.</h3>
    {% endif %}
  </div>
  {% else %}
  <div class="container">
    <h3>Opening WebGestalt...</h3>
  </div>
  <form method="post" action="https://www.webgestalt.org/option.php" name="WebGestalt">
    {% 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.WebGestalt.submit()', 1000);
</script>
{% endif %}
{% endblock %}