diff options
author | BonfaceKilz | 2022-01-05 19:31:43 +0300 |
---|---|---|
committer | GitHub | 2022-01-05 19:31:43 +0300 |
commit | eda15b5ea1bf773d69ea750a946d1cb61f5d3509 (patch) | |
tree | c410acc04debdc0d221db17b4a4515e595c2a162 /gn3 | |
parent | bbd088c6aa26549d2e6b063c8d99492cb6fc33f5 (diff) | |
parent | a72195b4e77d221fc74810b460bfec8940755a8f (diff) | |
download | genenetwork3-eda15b5ea1bf773d69ea750a946d1cb61f5d3509.tar.gz |
Merge pull request #64 from jgarte/type-hint-normalize-values
Adds type hint for normalize_values function
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/computations/correlations.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py index 1b4b3a4..09288c5 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 @@ -39,7 +40,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 |