aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-03-22 20:24:24 +0000
committerzsloan2022-03-22 20:24:24 +0000
commitbf19869b8c721f3097f4d91e484db94c941bc288 (patch)
tree07cca7f00588133147d59ee0d259c868182b14f4 /wqflask
parent52b364b91c92f661d82afb4f5f59011aea429270 (diff)
downloadgenenetwork2-bf19869b8c721f3097f4d91e484db94c941bc288.tar.gz
Fix way pair_scan is checked
Previously it would always register as True, due to being in the start_vars
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/marker_regression/run_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/run_mapping.py b/wqflask/wqflask/marker_regression/run_mapping.py
index cf217a96..35678df9 100644
--- a/wqflask/wqflask/marker_regression/run_mapping.py
+++ b/wqflask/wqflask/marker_regression/run_mapping.py
@@ -238,7 +238,7 @@ class RunMapping:
self.method = "em"
self.model = start_vars['mapmodel_rqtl']
self.pair_scan = False
- if 'pair_scan' in start_vars:
+ if start_vars['pair_scan'] == "true":
self.pair_scan = True
if self.permCheck and self.num_perm > 0:
self.perm_output, self.suggestive, self.significant, results = rqtl_mapping.run_rqtl(