aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations/rust_correlation.py
diff options
context:
space:
mode:
authorAlexander_Kabui2022-07-07 23:13:14 +0300
committerBonfaceKilz2022-07-22 14:52:08 +0300
commit10256824e545d8e4115286389ef38f2d2c9735e1 (patch)
tree8bde325d3a280e19b1fff0057fe2491ee082719e /gn3/computations/rust_correlation.py
parent0c13d30e7008ff8285e33c39316211b48dc82ca1 (diff)
downloadgenenetwork3-10256824e545d8e4115286389ef38f2d2c9735e1.tar.gz
mypy pylint fixes
Diffstat (limited to 'gn3/computations/rust_correlation.py')
-rw-r--r--gn3/computations/rust_correlation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/computations/rust_correlation.py b/gn3/computations/rust_correlation.py
index 0cd3ee2..0b37144 100644
--- a/gn3/computations/rust_correlation.py
+++ b/gn3/computations/rust_correlation.py
@@ -31,7 +31,8 @@ def generate_input_files(dataset: list[str],
return (tmp_dir, tmp_file)
-def generate_json_file(tmp_dir, tmp_file, method, delimiter, x_vals) -> str:
+def generate_json_file(tmp_dir, tmp_file,
+ method, delimiter, x_vals) -> tuple[str, str]:
"""generating json input file required by cargo"""
tmp_json_file = os.path.join(tmp_dir, f"{random_string(10)}.json")