aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authoruditgulati2020-08-16 17:14:00 -0500
committeruditgulati2020-11-01 06:47:02 -0600
commitc6e4083da1c78c923ba94b3057e1fe5e09f5b603 (patch)
treef23b8d9215cdb53884c9c06aa7fb6be947e3a7f3 /wqflask
parentf52499653858512320ae17a2ff48671d82fc31fb (diff)
downloadgenenetwork2-c6e4083da1c78c923ba94b3057e1fe5e09f5b603.tar.gz
fix issue when empty_filed_count is not claculated
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/snp_browser.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/snp_browser.html b/wqflask/wqflask/templates/snp_browser.html
index c7923be6..284a371a 100644
--- a/wqflask/wqflask/templates/snp_browser.html
+++ b/wqflask/wqflask/templates/snp_browser.html
@@ -226,8 +226,8 @@
<script type='text/javascript'>
var empty_columns = {{ empty_columns|safe }};
- var remain_field_count = {{ 15 - empty_field_count }};
- var total_field_count = {{ 15 - empty_field_count }} + {{ allele_list|length }};
+ var remain_field_count = 15 - {{ empty_field_count|safe }};
+ var total_field_count = 15 - {{ empty_field_count|safe }} + {{ allele_list|safe|length }};
</script>
<script language="javascript">