From 9169c421251cf8a371bfec9edcdd021c269fa459 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 2 Apr 2019 10:33:34 -0500 Subject: Fixed issue where non-GEMMA mapping would throw an error because it would still look for the results filename --- wqflask/wqflask/marker_regression/display_mapping_results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') 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'] -- cgit v1.2.3