aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2020-10-22 12:55:41 -0500
committerGitHub2020-10-22 12:55:41 -0500
commit485694e5a7da5e937b2c0aff6ba7fbf852b30402 (patch)
tree429f2fda3d0b232aba95ea69e2a20ddc308ab09c /wqflask
parentd62aba83dc8556676355d7647b0244bd18b505d8 (diff)
parente2b803a0721ef8589b304661d1420967c419003d (diff)
downloadgenenetwork2-485694e5a7da5e937b2c0aff6ba7fbf852b30402.tar.gz
Merge pull request #461 from zsloan/mapping_y_axis_fix
Mapping y axis fix
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index 79266df2..c364c0db 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -2074,11 +2074,7 @@ class DisplayMappingResults(object):
pass
if self.permChecked and self.nperm > 0 and not self.multipleInterval:
- if self.significant > LRS_LOD_Max:
- LRS_LOD_Max = self.significant * 1.1
- #LRS_LOD_Max = max(self.significant, LRS_LOD_Max)
- else:
- LRS_LOD_Max = 1.15*LRS_LOD_Max
+ LRS_LOD_Max = max(self.significant, LRS_LOD_Max)
#genotype trait will give infinite LRS
LRS_LOD_Max = min(LRS_LOD_Max, webqtlConfig.MAXLRS)