diff options
author | zsloan | 2021-07-01 20:59:47 +0000 |
---|---|---|
committer | zsloan | 2021-07-01 20:59:47 +0000 |
commit | 323c52ff746dab78a2edc343958a81e0ac1b22a5 (patch) | |
tree | 2324bf9e40811973534ac8d317a3e4169ca080d7 | |
parent | bab4e72f657eef01934dc7a1645dce6d3035c3fd (diff) | |
download | genenetwork2-323c52ff746dab78a2edc343958a81e0ac1b22a5.tar.gz |
Fixed issue where zooming into chromosome 1 was causing the Y axis scaling to be bad
-rw-r--r-- | wqflask/wqflask/marker_regression/display_mapping_results.py | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py index 2d74ea52..dfae4065 100644 --- a/wqflask/wqflask/marker_regression/display_mapping_results.py +++ b/wqflask/wqflask/marker_regression/display_mapping_results.py @@ -2289,20 +2289,9 @@ class DisplayMappingResults: font=VERDANA_FILE, size=int(18 * zoom * 1.5)) yZero = yTopOffset + plotHeight - # LRSHeightThresh = drawAreaHeight - # AdditiveHeightThresh = drawAreaHeight/2 - # DominanceHeightThresh = drawAreaHeight/2 - if self.selectedChr == 1: - LRSHeightThresh = drawAreaHeight - yTopOffset + 30 * (zoom - 1) - AdditiveHeightThresh = LRSHeightThresh / 2 - DominanceHeightThresh = LRSHeightThresh / 2 - else: - LRSHeightThresh = drawAreaHeight - AdditiveHeightThresh = drawAreaHeight / 2 - DominanceHeightThresh = drawAreaHeight / 2 - # LRSHeightThresh = (yZero - yTopOffset + 30*(zoom - 1)) - # AdditiveHeightThresh = LRSHeightThresh/2 - # DominanceHeightThresh = LRSHeightThresh/2 + LRSHeightThresh = drawAreaHeight + AdditiveHeightThresh = drawAreaHeight / 2 + DominanceHeightThresh = drawAreaHeight / 2 if LRS_LOD_Max > 100: LRSScale = 20.0 |