aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-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")