diff options
author | uditgulati | 2020-08-16 17:14:00 -0500 |
---|---|---|
committer | uditgulati | 2020-11-01 06:47:02 -0600 |
commit | c6e4083da1c78c923ba94b3057e1fe5e09f5b603 (patch) | |
tree | f23b8d9215cdb53884c9c06aa7fb6be947e3a7f3 | |
parent | f52499653858512320ae17a2ff48671d82fc31fb (diff) | |
download | genenetwork2-c6e4083da1c78c923ba94b3057e1fe5e09f5b603.tar.gz |
fix issue when empty_filed_count is not claculated
-rw-r--r-- | wqflask/wqflask/templates/snp_browser.html | 4 |
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"> |