aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py6
-rw-r--r--wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js2
2 files changed, 2 insertions, 6 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)
diff --git a/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js b/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js
index 97b71306..49822cd2 100644
--- a/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js
+++ b/wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js
@@ -6,7 +6,7 @@ if (js_data.se_exists) {
attribute_start_pos += 2;
}
if (js_data.has_num_cases === true) {
- attribute_start_post += 1;
+ attribute_start_pos += 1;
}
build_columns = function() {