diff options
author | zsloan | 2022-03-22 20:25:11 +0000 |
---|---|---|
committer | zsloan | 2022-03-22 20:25:11 +0000 |
commit | 218e62488de585c3934809f3eb42847d27969764 (patch) | |
tree | bb1c31bfcca05646bc0aa497cb29999cc34a63fc | |
parent | bf19869b8c721f3097f4d91e484db94c941bc288 (diff) | |
download | genenetwork2-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.py | 2 |
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 |