about summary refs log tree commit diff
path: root/gn3/commands.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-02-28 12:44:55 -0600
committerFrederick Muriuki Muriithi2025-02-28 12:44:55 -0600
commitef1436bca390ee916b7119036ab2d3de8d1344fb (patch)
tree8ed0197669d51d2f825080bfbda10e35fa2403aa /gn3/commands.py
parent4edc4450e6fe578212600ad9733f0fa6eb3ffc9f (diff)
downloadgenenetwork3-ef1436bca390ee916b7119036ab2d3de8d1344fb.tar.gz
Fix linting errors.
Diffstat (limited to 'gn3/commands.py')
-rw-r--r--gn3/commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/commands.py b/gn3/commands.py
index 74c634c..38153bf 100644
--- a/gn3/commands.py
+++ b/gn3/commands.py
@@ -84,7 +84,7 @@ def compose_pcorrs_command(
             return "pearsons"
         if "spearmans" in mthd:
             return "spearmans"
-        raise Exception(f"Invalid method '{method}'")
+        raise Exception(f"Invalid method '{method}'")# pylint: disable=[broad-exception-raised]
 
     prefix_cmd = (
         f"{sys.executable}", "-m", "scripts.partial_correlations",
@@ -98,7 +98,7 @@ def compose_pcorrs_command(
             kwargs.get("target_database") is None
             and kwargs.get("target_traits") is not None):
         return compose_pcorrs_command_for_selected_traits(prefix_cmd, **kwargs)
-    raise Exception("Invalid state: I don't know what command to generate!")
+    raise Exception("Invalid state: I don't know what command to generate!")# pylint: disable=[broad-exception-raised]
 
 def queue_cmd(conn: Redis,
               job_queue: str,