From 74d24925463df1cb03cf21c7c3a83241e864361d Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 22 Sep 2017 17:52:44 +0000 Subject: Fixed issue that caused covariates to not work for certain data set groups --- wqflask/wqflask/marker_regression/marker_regression.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/marker_regression/marker_regression.py b/wqflask/wqflask/marker_regression/marker_regression.py index 24292c35..9f2f06f3 100644 --- a/wqflask/wqflask/marker_regression/marker_regression.py +++ b/wqflask/wqflask/marker_regression/marker_regression.py @@ -84,7 +84,10 @@ class MarkerRegression(object): self.manhattan_plot = False self.maf = start_vars['maf'] # Minor allele frequency - self.use_loco = start_vars['use_loco'] + if "use_loco" in start_vars: + self.use_loco = start_vars['use_loco'] + else: + self.use_loco = None self.suggestive = "" self.significant = "" self.pair_scan = False # Initializing this since it is checked in views to determine which template to use -- cgit v1.2.3