diff options
| author | Frederick Muriuki Muriithi | 2025-02-28 12:44:55 -0600 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2025-02-28 12:44:55 -0600 |
| commit | ef1436bca390ee916b7119036ab2d3de8d1344fb (patch) | |
| tree | 8ed0197669d51d2f825080bfbda10e35fa2403aa /gn3/computations/rust_correlation.py | |
| parent | 4edc4450e6fe578212600ad9733f0fa6eb3ffc9f (diff) | |
| download | genenetwork3-ef1436bca390ee916b7119036ab2d3de8d1344fb.tar.gz | |
Fix linting errors.
Diffstat (limited to 'gn3/computations/rust_correlation.py')
| -rw-r--r-- | gn3/computations/rust_correlation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py index 5ce097d..69817d1 100644 --- a/gn3/computations/rust_correlation.py +++ b/gn3/computations/rust_correlation.py @@ -53,7 +53,7 @@ def run_correlation( corr_type: str = "sample", top_n: int = 500): """entry function to call rust correlation""" - # pylint: disable=too-many-arguments + # pylint: disable=[too-many-arguments, too-many-positional-arguments] correlation_command = current_app.config["CORRELATION_COMMAND"] # make arg? (tmp_dir, tmp_file) = generate_input_files(dataset) (output_file, json_file) = generate_json_file( @@ -67,7 +67,7 @@ def run_correlation( os.readlink(correlation_command) if os.path.islink(correlation_command) else correlation_command) - raise Exception(command_list, actual_command, cpe.stdout) from cpe + raise Exception(command_list, actual_command, cpe.stdout) from cpe# pylint: disable=[broad-exception-raised] return parse_correlation_output(output_file, corr_type, top_n) |
