From ef1436bca390ee916b7119036ab2d3de8d1344fb Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 28 Feb 2025 12:44:55 -0600 Subject: Fix linting errors. --- gn3/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3/commands.py') 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, -- cgit 1.4.1