diff options
author | zsloan | 2024-07-08 21:10:01 +0000 |
---|---|---|
committer | zsloan | 2024-07-08 21:10:34 +0000 |
commit | 9962398cb81a56dabc497b5d3f4025d1554f6d05 (patch) | |
tree | 88488e03b6546139c9d66b6df10170bcd5019dd1 /gn3/api | |
parent | d7869a1f0ed7915e0dd11bb51c49959d0b973315 (diff) | |
download | genenetwork3-9962398cb81a56dabc497b5d3f4025d1554f6d05.tar.gz |
Pass output directory to R/qtl script instead of pulling it from the
environment
Also fixes issue where the control marker keyword was wrong
Diffstat (limited to 'gn3/api')
-rw-r--r-- | gn3/api/rqtl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/rqtl.py b/gn3/api/rqtl.py index 70ebe12..ae0110d 100644 --- a/gn3/api/rqtl.py +++ b/gn3/api/rqtl.py @@ -25,11 +25,11 @@ run the rqtl_wrapper script and return the results as JSON raise FileNotFoundError # Split kwargs by those with values and boolean ones that just convert to True/False - kwargs = ["covarstruct", "model", "method", "nperm", "scale", "control_marker"] + kwargs = ["covarstruct", "model", "method", "nperm", "scale", "control"] boolean_kwargs = ["addcovar", "interval", "pstrata", "pairscan"] all_kwargs = kwargs + boolean_kwargs - rqtl_kwargs = {"geno": genofile, "pheno": phenofile} + rqtl_kwargs = {"geno": genofile, "pheno": phenofile, "outdir": current_app.config.get("TMPDIR")} rqtl_bool_kwargs = [] for kwarg in all_kwargs: if kwarg in request.form: |