about summary refs log tree commit diff
path: root/gn3/commands.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-10-27 14:21:01 -0500
committerFrederick Muriuki Muriithi2025-10-27 19:11:26 -0500
commit51688d31004f8f7453d8190927b9c11503a453c0 (patch)
treefe01bd42a5f8df1bdb9ece45f0c4c7b716c09eb2 /gn3/commands.py
parent019282e64fb401f7a6823f3c8914d1d6e5ad0233 (diff)
downloadgenenetwork3-51688d31004f8f7453d8190927b9c11503a453c0.tar.gz
Pass `TEXTDIR` configuration on to the script.
Pass the `TEXXDIR` configuration variable on to the script.
Diffstat (limited to 'gn3/commands.py')
-rw-r--r--gn3/commands.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/commands.py b/gn3/commands.py
index 3598e2f..697db42 100644
--- a/gn3/commands.py
+++ b/gn3/commands.py
@@ -77,7 +77,8 @@ def compose_pcorrs_command_for_database(
         criteria: int = 500) -> Tuple[str, ...]:
     """Build command for partial correlations against an entire dataset."""
     return prefix_cmd + (
-        "against-db", f"{target_database}", f"--criteria={criteria}")
+        "against-db", f"{target_database}", "--criteria", str(criteria),
+        "--textdir", current_app.config["TEXTDIR"])
 
 
 def compose_pcorrs_command(