From a72195b4e77d221fc74810b460bfec8940755a8f Mon Sep 17 00:00:00 2001 From: jgart Date: Tue, 14 Dec 2021 05:41:54 -0500 Subject: Adds type hint for normalize_values function --- gn3/computations/correlations.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py index d38946e..37c70e9 100644 --- a/gn3/computations/correlations.py +++ b/gn3/computations/correlations.py @@ -3,6 +3,7 @@ import math import multiprocessing from contextlib import closing +from typing import Generator from typing import List from typing import Tuple from typing import Optional @@ -38,7 +39,7 @@ def map_shared_keys_to_values(target_sample_keys: List, return target_dataset_data -def normalize_values(a_values: List, b_values: List): +def normalize_values(a_values: List, b_values: List) -> Tuple[Generator, Generator]: """ :param a_values: list of primary strain values :param b_values: a list of target strain values -- cgit v1.2.3