From 2852a935d67f1fe319ee925f412d40f7d8e88582 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Wed, 19 Feb 2025 15:54:51 +0300 Subject: fix: Read and parse correct permutation file from R/qtl1 --- gn3/api/rqtl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn3/api/rqtl.py') diff --git a/gn3/api/rqtl.py b/gn3/api/rqtl.py index e9ea1b9..eb49f8b 100644 --- a/gn3/api/rqtl.py +++ b/gn3/api/rqtl.py @@ -83,9 +83,10 @@ def compute(stream_output_file): if int(rqtl_kwargs["nperm"]) > 0: # pylint: disable=C0301 + perm_output_file = f"PERM_{rqtl_cmd.get('output_file')}" ( rqtl_output["perm_results"], rqtl_output["suggestive"], rqtl_output["significant"], - ) = process_perm_output(rqtl_cmd.get("output_file")) + ) = process_perm_output(perm_output_file) return jsonify(rqtl_output) -- cgit 1.4.1