diff options
author | Frederick Muriuki Muriithi | 2022-05-21 12:11:58 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-05-21 12:13:12 +0300 |
commit | 63d9c9932721e98a9d6715686214157e276af105 (patch) | |
tree | 9c274e58ace5e2254b8eca37a8ad39531713f63e | |
parent | b662fcb763488121a95a2b73d2e83c1c0abb8d70 (diff) | |
download | genenetwork3-63d9c9932721e98a9d6715686214157e276af105.tar.gz |
Fix linting errors
-rw-r--r-- | gn3/api/correlation.py | 2 | ||||
-rw-r--r-- | gn3/commands.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gn3/api/correlation.py b/gn3/api/correlation.py index e362b38..5f2d486 100644 --- a/gn3/api/correlation.py +++ b/gn3/api/correlation.py @@ -9,7 +9,7 @@ from flask import request from flask import current_app from gn3.settings import SQL_URI -from gn3.commands import queue_cmd, run_async_cmd, compose_pcorrs_command +from gn3.commands import run_async_cmd, compose_pcorrs_command from gn3.db_utils import database_connector from gn3.responses.pcorrs_responses import build_response from gn3.computations.correlations import map_shared_keys_to_values diff --git a/gn3/commands.py b/gn3/commands.py index 5770902..9684eeb 100644 --- a/gn3/commands.py +++ b/gn3/commands.py @@ -111,5 +111,5 @@ def run_async_cmd( """A utility function to call `gn3.commands.queue_cmd` function and run the worker in the `one-shot` mode.""" cmd_id = queue_cmd(conn, job_queue, cmd, email, env) - subprocess.Popen(["python3", "sheepdog/worker.py"]) + subprocess.Popen(["python3", "sheepdog/worker.py"]) # pylint: disable=[consider-using-with] return cmd_id |