aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2019-04-02 10:33:34 -0500
committerzsloan2019-04-02 10:33:34 -0500
commit9169c421251cf8a371bfec9edcdd021c269fa459 (patch)
tree08b51ce1a268e89607e5dc23dce840fcd2a24dd3 /wqflask
parentded2b49421cb10f668fc15a1fdd2a6efc3b2fc20 (diff)
downloadgenenetwork2-9169c421251cf8a371bfec9edcdd021c269fa459.tar.gz
Fixed issue where non-GEMMA mapping would throw an error because it would still look for the results filename
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/display_mapping_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/display_mapping_results.py b/wqflask/wqflask/marker_regression/display_mapping_results.py
index 39e0d712..11231032 100644
--- a/wqflask/wqflask/marker_regression/display_mapping_results.py
+++ b/wqflask/wqflask/marker_regression/display_mapping_results.py
@@ -228,7 +228,7 @@ class DisplayMappingResults(object):
self.covariates = start_vars['covariates']
if 'maf' in start_vars.keys():
self.maf = start_vars['maf']
- if 'use_loco' in start_vars.keys():
+ if 'use_loco' in start_vars.keys() and self.mapping_method == "gemma":
self.use_loco = start_vars['use_loco']
if self.use_loco == "True":
self.gwa_filename = start_vars['gwa_filename']