From 1c2604715555b96720d40fd162d42a73f5e0e721 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Wed, 2 Feb 2022 11:25:41 +0100 Subject: [PATCH] Fix typo in method name in subnetwork module --- src/indra_cogex/client/subnetwork.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/indra_cogex/client/subnetwork.py b/src/indra_cogex/client/subnetwork.py index 8b25f9a11..eb9240edb 100644 --- a/src/indra_cogex/client/subnetwork.py +++ b/src/indra_cogex/client/subnetwork.py @@ -1,9 +1,15 @@ from typing import List, Tuple from indra.statements import Statement + from .neo4j_client import Neo4jClient -from .queries import get_expressed_genes_in_tissue -from ..representation import Node, indra_stmts_from_relations, norm_id +from .queries import get_genes_in_tissue +from ..representation import indra_stmts_from_relations, norm_id + +__all__ = [ + "indra_subnetwork", + "indra_subnetwork_tissue", +] def indra_subnetwork( @@ -56,6 +62,6 @@ def indra_subnetwork_tissue( : The subnetwork induced by the given nodes and expressed in the given tissue. """ - genes = get_expressed_genes_in_tissue(client, tissue) + genes = get_genes_in_tissue(client, tissue) relevant_genes = {g.grounding() for g in genes} & set(nodes) return indra_subnetwork(client, relevant_genes)