aboutsummaryrefslogtreecommitdiff
path: root/gn3/api
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/rqtl.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gn3/api/rqtl.py b/gn3/api/rqtl.py
index dd9078f..68299d4 100644
--- a/gn3/api/rqtl.py
+++ b/gn3/api/rqtl.py
@@ -38,6 +38,10 @@ run the rqtl_wrapper script and return the results as JSON
if kwarg in boolean_kwargs:
rqtl_bool_kwargs.append(kwarg)
+ outdir = os.path.join(get_tmpdir(),"gn3")
+ if not os.path.isdir(outdir):
+ os.mkdir(outdir)
+
rqtl_cmd = generate_rqtl_cmd(
rqtl_wrapper_cmd='scripts/rqtl_wrapper.R',
rqtl_wrapper_kwargs=rqtl_kwargs,