aboutsummaryrefslogtreecommitdiff
path: root/gn2/jobs
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-09 16:37:12 +0300
committerFrederick Muriuki Muriithi2024-01-09 16:37:12 +0300
commita99d72418d2349ba782fa4e48e68c46426641a01 (patch)
tree722bfaa980586a97e86b5883884c84169d7d15d5 /gn2/jobs
parentedd9b58b8dd2f3422548d11cea5a4d48176318a9 (diff)
downloadgenenetwork2-a99d72418d2349ba782fa4e48e68c46426641a01.tar.gz
Update module paths
With the reorganisation, a number of module paths changed, and need to be updated. This commit fixes a few obvious ones.
Diffstat (limited to 'gn2/jobs')
-rw-r--r--gn2/jobs/jobs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/jobs/jobs.py b/gn2/jobs/jobs.py
index f796fa9a..dfcdf274 100644
--- a/gn2/jobs/jobs.py
+++ b/gn2/jobs/jobs.py
@@ -58,7 +58,7 @@ def queue(redis_conn: Redis, job: dict) -> UUID:
def run(job_id: UUID, redis_uri: str):
command = [
- sys.executable, "-m", "scripts.run_external",
+ sys.executable, "-m", "gn2.scripts.run_external",
f"--redis-uri={redis_uri}", "run-job", str(job_id)]
print(f"COMMAND: {shlex.join(command)}")
subprocess.Popen(command)