aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-08-04 20:12:22 +0000
committerzsloan2021-08-26 19:06:26 +0000
commit11dd6e34a3f58a83bf057cfe3d865d4da0047dd2 (patch)
tree78c24edba2d20dc645e841dbed01709ffa4e8510
parent7f769f7ba20e3946020c1658fe7bc10978377957 (diff)
downloadgenenetwork2-11dd6e34a3f58a83bf057cfe3d865d4da0047dd2.tar.gz
Fixed bug caused by pair_scan not always being set to a default
-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 7a2b9aaa..059b0f31 100644
--- a/wqflask/wqflask/marker_regression/run_mapping.py
+++ b/wqflask/wqflask/marker_regression/run_mapping.py
@@ -109,6 +109,7 @@ class RunMapping:
self.mapping_results_path = "{}{}.csv".format(
webqtlConfig.GENERATED_IMAGE_DIR, mapping_results_filename)
+ self.pair_scan = False
self.manhattan_plot = False
if 'manhattan_plot' in start_vars:
if start_vars['manhattan_plot'].lower() != "false":
@@ -237,7 +238,6 @@ class RunMapping:
else:
self.method = "em"
self.model = start_vars['mapmodel_rqtl']
- self.pair_scan = False
if 'pair_scan' in start_vars:
self.pair_scan = True
if self.permCheck and self.num_perm > 0: