aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-10-13 17:46:18 +0000
committerzsloan2021-10-13 17:46:18 +0000
commit25cafac773edf3a053819b53ef860321a678941a (patch)
tree3f35c7951cbf5986e69952abbea6fb0f9f638d82
parenta212ad123f902b6a9c74bcac1d98bc274cebbdda (diff)
downloadgenenetwork2-25cafac773edf3a053819b53ef860321a678941a.tar.gz
Fix issue where score_type being set wrong caused an error when exporting mapping results (a while back it was changed from LOD to -logP)
-rw-r--r--wqflask/wqflask/marker_regression/run_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/run_mapping.py b/wqflask/wqflask/marker_regression/run_mapping.py
index 80094057..769b9240 100644
--- a/wqflask/wqflask/marker_regression/run_mapping.py
+++ b/wqflask/wqflask/marker_regression/run_mapping.py
@@ -230,7 +230,7 @@ class RunMapping:
self.perm_strata = get_perm_strata(
self.this_trait, primary_samples, self.categorical_vars, self.samples)
- self.score_type = "LOD"
+ self.score_type = "-logP"
self.control_marker = start_vars['control_marker']
self.do_control = start_vars['do_control']
if 'mapmethod_rqtl_geno' in start_vars: