aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)