From 9215c0d412bd885db3c3bbcb5635c22ac932b6f4 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Wed, 12 May 2021 19:52:21 +0300 Subject: rename lit_correlation_for_trait_list to lit_correlation_for_trait --- gn3/computations/correlations.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gn3/computations') diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py index 21bc82e..2a4854b 100644 --- a/gn3/computations/correlations.py +++ b/gn3/computations/correlations.py @@ -287,7 +287,7 @@ def fetch_lit_correlation_data( return (gene_id, 0) -def lit_correlation_for_trait_list( +def lit_correlation_for_trait( conn, target_trait_lists: List, species: Optional[str] = None, @@ -361,9 +361,9 @@ def map_to_mouse_gene_id(conn, species: Optional[str], def compute_all_lit_correlation(conn, trait_lists: List, species: str, gene_id): """Function that acts as an abstraction for - lit_correlation_for_trait_list""" + lit_correlation_for_trait""" - lit_results = lit_correlation_for_trait_list( + lit_results = lit_correlation_for_trait( conn=conn, target_trait_lists=trait_lists, species=species, -- cgit v1.2.3