diff options
Diffstat (limited to 'gn3/computations')
| -rw-r--r-- | gn3/computations/rqtl2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/rqtl2.py b/gn3/computations/rqtl2.py index 8f1e928..a06c929 100644 --- a/gn3/computations/rqtl2.py +++ b/gn3/computations/rqtl2.py @@ -71,7 +71,7 @@ def compose_rqtl2_cmd(rqtl_path, input_file, "threshold": data.get("threshold", 1), "cores": config.get('MULTIPROCESSOR_PROCS', 1) } - rscript_path = config.get("RSCRIPT", "Rscript") + rscript_path = config.get("RSCRIPT", os.environ.get("RSCRIPT", "Rscript")) return f"{rscript_path} { rqtl_path } " + " ".join( [f"--{key} {val}" for key, val in params.items()]) |
