From 218e62488de585c3934809f3eb42847d27969764 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 22 Mar 2022 20:25:11 +0000 Subject: 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 --- wqflask/wqflask/marker_regression/rqtl_mapping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3