about summary refs log tree commit diff
path: root/gn3/api
diff options
context:
space:
mode:
authorAlexander_Kabui2025-01-07 20:59:20 +0300
committerAlexander_Kabui2025-01-07 20:59:20 +0300
commit326004d76a317e5a1dfdb595bc0fe2f21c5b2f87 (patch)
tree841ad2dfb5da74ca7a585a9775159588f47e0536 /gn3/api
parent688d6a48e73bb87437abdc9fc014fb305fe945d5 (diff)
downloadgenenetwork3-326004d76a317e5a1dfdb595bc0fe2f21c5b2f87.tar.gz
feat: Revert commit 688d6a4.
Diffstat (limited to 'gn3/api')
-rw-r--r--gn3/api/rqtl.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gn3/api/rqtl.py b/gn3/api/rqtl.py
index b3f71f7..1139d9e 100644
--- a/gn3/api/rqtl.py
+++ b/gn3/api/rqtl.py
@@ -87,10 +87,8 @@ def run_process(rscript_cmd, output_file, run_id):
     """Main function to do the streaming"""
     # TODO: move this function to own file
     # pylint: disable=consider-using-with
-    # added this inorder not to set shell=True
-    rscript_cmd = rscript_cmd.split()
     process = subprocess.Popen(
-        rscript_cmd,
+        rscript_cmd, shell=True,
         stdout=subprocess.PIPE,
         stderr=subprocess.STDOUT
     )