about summary refs log tree commit diff
path: root/gn3/api/rqtl.py
diff options
context:
space:
mode:
authorAlexander_Kabui2025-02-19 15:54:51 +0300
committerAlexander_Kabui2025-02-19 15:54:51 +0300
commit2852a935d67f1fe319ee925f412d40f7d8e88582 (patch)
treedcddddb18077738c4769d76a45fb63b375c4be72 /gn3/api/rqtl.py
parent007a54501693fe28c25513ce8391da919638384d (diff)
downloadgenenetwork3-2852a935d67f1fe319ee925f412d40f7d8e88582.tar.gz
fix: Read and parse correct permutation file from R/qtl1
Diffstat (limited to 'gn3/api/rqtl.py')
-rw-r--r--gn3/api/rqtl.py3
1 files changed, 2 insertions, 1 deletions
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)