From 23be50a195e648fa567777c4ab679d4c30cf6933 Mon Sep 17 00:00:00 2001 From: zsloan Date: Sat, 28 Aug 2021 00:46:10 +0000 Subject: Fix issue that causes R/qtl to always run pair-scan even if pair-scan isn't selected --- gn3/api/rqtl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gn3/api') diff --git a/gn3/api/rqtl.py b/gn3/api/rqtl.py index 2ff0f4e..6548e1a 100644 --- a/gn3/api/rqtl.py +++ b/gn3/api/rqtl.py @@ -48,7 +48,7 @@ run the rqtl_wrapper script and return the results as JSON "output", rqtl_cmd.get('output_file'))): os.system(rqtl_cmd.get('rqtl_cmd')) - if "pairscan" in boolean_kwargs: + if "pairscan" in rqtl_bool_kwargs: rqtl_output['results'] = process_rqtl_pairscan(rqtl_cmd.get('output_file'), genofile) else: rqtl_output['results'] = process_rqtl_mapping(rqtl_cmd.get('output_file')) -- cgit v1.2.3