aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2017-09-22 17:52:44 +0000
committerzsloan2017-09-22 17:52:44 +0000
commit74d24925463df1cb03cf21c7c3a83241e864361d (patch)
tree432bbf0b03bc656b10c02d5783dd664840b61d12
parent6c0e665d86c501b4a1640e067d46ecb61a3ae1bf (diff)
downloadgenenetwork2-74d24925463df1cb03cf21c7c3a83241e864361d.tar.gz
Fixed issue that caused covariates to not work for certain data set groups
-rw-r--r--wqflask/wqflask/marker_regression/marker_regression.py5
1 files changed, 4 insertions, 1 deletions
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