aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2020-08-03 11:23:54 -0500
committerzsloan2020-08-03 11:23:54 -0500
commitb950eb2f79632ca433b76dac8f063847266c54fc (patch)
treed70a6eba03c9747401cc11b7efa4ae362a8d168b /wqflask
parent497a64f4c24644217fe74178976ba5cb9e675308 (diff)
downloadgenenetwork2-b950eb2f79632ca433b76dac8f063847266c54fc.tar.gz
Fixed table width issue when there's an N column
* wqflask/wqflask/show_trait/show_trait.py - Just added more pixels in the function which determines the overall table width
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index 5fc69cab..f188fd9d 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -546,9 +546,9 @@ def get_table_widths(sample_groups, has_num_cases=False):
trait_table_width = 380
if sample_groups[0].se_exists():
- trait_table_width += 70
+ trait_table_width += 80
if has_num_cases:
- trait_table_width += 30
+ trait_table_width += 80
trait_table_width += len(sample_groups[0].attributes)*70
trait_table_width = str(trait_table_width) + "px"