aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2020-05-18 11:49:32 -0500
committerzsloan2020-05-18 11:49:32 -0500
commit442ec66a603bdc312f760027d4c000ba7af14fe6 (patch)
treedaa532c3ea8ad1946e2c712c136e8c63807b2d5f /wqflask
parent9d0c8a43cdcfb5ee7c30897495b4617d58f98386 (diff)
downloadgenenetwork2-442ec66a603bdc312f760027d4c000ba7af14fe6.tar.gz
Partial fix to issue of the top margin being too small when using R/qtl and cofactors
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index f70bc555..a648667b 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -508,7 +508,10 @@ class DisplayMappingResults(object):
yTopOffset = max(90, yTopOffset)
else:
if self.legendChecked:
- yTopOffset = max(90, yTopOffset)
+ if self.covariates != "" and self.controlLocus and self.doControl != "false":
+ yTopOffset = max(120, yTopOffset)
+ else:
+ yTopOffset = max(100, yTopOffset)
else:
pass