aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2022-03-22 20:25:11 +0000
committerzsloan2022-03-22 20:25:11 +0000
commit218e62488de585c3934809f3eb42847d27969764 (patch)
treebb1c31bfcca05646bc0aa497cb29999cc34a63fc
parentbf19869b8c721f3097f4d91e484db94c941bc288 (diff)
downloadgenenetwork2-218e62488de585c3934809f3eb42847d27969764.tar.gz
Fix logic for setting interval parameter
The parameter should never be interval if pair_scan is being run; not checking for this causes the --interval tag to pointlessly be included when running pair-scan, which also interferes with caching
-rw-r--r--wqflask/wqflask/marker_regression/rqtl_mapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/marker_regression/rqtl_mapping.py b/wqflask/wqflask/marker_regression/rqtl_mapping.py
index c7a3451a..3bf06ea6 100644
--- a/wqflask/wqflask/marker_regression/rqtl_mapping.py
+++ b/wqflask/wqflask/marker_regression/rqtl_mapping.py
@@ -49,7 +49,7 @@ def run_rqtl(trait_name, vals, samples, dataset, pair_scan, mapping_scale, model
if do_control == "true" and control_marker:
post_data["control"] = control_marker
- if not manhattan_plot:
+ if not manhattan_plot and not pair_scan:
post_data["interval"] = True
if cofactors:
post_data["addcovar"] = True