From c942ad4cc1142625f5b2549b6b17aca9bf86e9cb Mon Sep 17 00:00:00 2001 From: Gaurav Vaidya Date: Wed, 9 Aug 2023 00:25:45 -0400 Subject: [PATCH] Escaped out logging statements. --- node_normalizer/normalizer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/node_normalizer/normalizer.py b/node_normalizer/normalizer.py index c74026b..4a965f5 100644 --- a/node_normalizer/normalizer.py +++ b/node_normalizer/normalizer.py @@ -529,12 +529,12 @@ async def get_normalized_nodes( if conflate_gene_protein: other_ids.extend(await app.state.redis_connection5.mget(*canonical_nonan, encoding='utf8')) - logger.error(f"After conflate_gene_protein: {other_ids}") + # logger.error(f"After conflate_gene_protein: {other_ids}") if conflate_chemical_drug: other_ids.extend(await app.state.redis_connection6.mget(*canonical_nonan, encoding='utf8')) - logger.error(f"After conflate_chemical_drug: {other_ids}") + # logger.error(f"After conflate_chemical_drug: {other_ids}") # if there are other ids, then we want to rebuild eqids and types. That's because even though we have them, # they're not necessarily first. For instance if what came in and got canonicalized was a protein id @@ -558,9 +558,9 @@ async def get_normalized_nodes( all_other_ids = sum(other_ids, []) eqids2, types2 = await get_eqids_and_types(app, all_other_ids) - logger.error(f"other_ids = {other_ids}") - logger.error(f"dereference_others = {dereference_others}") - logger.error(f"all_other_ids = {all_other_ids}") + # logger.error(f"other_ids = {other_ids}") + # logger.error(f"dereference_others = {dereference_others}") + # logger.error(f"all_other_ids = {all_other_ids}") final_eqids = [] final_types = []