aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/rqtl.py
diff options
context:
space:
mode:
authorPjotr Prins2024-04-03 13:24:32 +0200
committerFrederick Muriuki Muriithi2024-09-12 07:40:04 -0500
commit9d221ad285e4d41e0a83af88bef8f221356848ba (patch)
treeaef89f20b2b8d87641a134a0c59f064a98a0cd44 /gn3/api/rqtl.py
parente10b62f88432856019540074fd19b6acdb70d4ad (diff)
downloadgenenetwork3-9d221ad285e4d41e0a83af88bef8f221356848ba.tar.gz
Replace TMPDIR/output with TMPDIR/gn3 so it is clear where it comes from
Diffstat (limited to 'gn3/api/rqtl.py')
-rw-r--r--gn3/api/rqtl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/rqtl.py b/gn3/api/rqtl.py
index bd50900..dd9078f 100644
--- a/gn3/api/rqtl.py
+++ b/gn3/api/rqtl.py
@@ -46,8 +46,8 @@ run the rqtl_wrapper script and return the results as JSON
rqtl_output = {}
if not os.path.isfile(os.path.join(current_app.config.get("TMPDIR"),
- "output", rqtl_cmd.get('output_file'))):
- os.system(__pk__(rqtl_cmd.get('rqtl_cmd')))
+ "gn3", rqtl_cmd.get('output_file'))):
+ os.system(rqtl_cmd.get('rqtl_cmd'))
if "pairscan" in rqtl_bool_kwargs:
rqtl_output['results'] = process_rqtl_pairscan(rqtl_cmd.get('output_file'), genofile)