aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2017-09-22 17:53:06 +0000
committerzsloan2017-09-22 17:53:06 +0000
commite6a9a6719e03e2ac0acf328d29188ac00813e150 (patch)
tree432bbf0b03bc656b10c02d5783dd664840b61d12 /wqflask
parentf2c29437a3c76b28d434f87e5b1f5cb08b9b2c6c (diff)
parent74d24925463df1cb03cf21c7c3a83241e864361d (diff)
downloadgenenetwork2-e6a9a6719e03e2ac0acf328d29188ac00813e150.tar.gz
Merge branch 'testing' of https://github.com/genenetwork/genenetwork2
Diffstat (limited to 'wqflask')
-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