From 9d221ad285e4d41e0a83af88bef8f221356848ba Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Wed, 3 Apr 2024 13:24:32 +0200 Subject: Replace TMPDIR/output with TMPDIR/gn3 so it is clear where it comes from --- gn3/api/rqtl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3/api') 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) -- cgit 1.4.1