aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDannyArends2016-03-23 23:08:32 +0100
committerPjotr Prins2016-04-20 10:18:04 +0000
commitb1e258e046e40f3ab8b6dba045c866959875000e (patch)
tree57f90c30213c5a8d0807c4cf4d28353c2a4f5031
parent210d8109a4171ddf6ea6a3f70a1bfbea7b327722 (diff)
downloadgenenetwork2-b1e258e046e40f3ab8b6dba045c866959875000e.tar.gz
Adding the lineplot image to the output
-rw-r--r--wqflask/wqflask/templates/ctl_results.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/ctl_results.html b/wqflask/wqflask/templates/ctl_results.html
index d978b38d..e2adbdfe 100644
--- a/wqflask/wqflask/templates/ctl_results.html
+++ b/wqflask/wqflask/templates/ctl_results.html
@@ -5,5 +5,13 @@
<div class="container">
<h1>CTL Results</h1>
{{request.form['trait_list'].split(',')|length}} phenotypes as input
+
+ <a href="/tmp/{{ results['imgurl'] }}">
+ <img alt="Embedded Image" src="data:image/png;base64,
+ {% for elem in results['imgdata'] -%}
+ {% print("%c"|format(elem)) %}
+ {%- endfor %}
+ " /></a>
+
</div>
{% endblock %}