From b26f05c38058fd3e3ee80a43da8d81460754d7ef Mon Sep 17 00:00:00 2001 From: Kirill Tsukanov Date: Thu, 10 Oct 2019 13:46:17 +0100 Subject: [PATCH] Logs: demote "OxO no mappings found" warning to debug --- eva_cttv_pipeline/trait_mapping/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eva_cttv_pipeline/trait_mapping/main.py b/eva_cttv_pipeline/trait_mapping/main.py index d92bb36f..5b95f7e4 100644 --- a/eva_cttv_pipeline/trait_mapping/main.py +++ b/eva_cttv_pipeline/trait_mapping/main.py @@ -62,10 +62,8 @@ def process_trait(trait: Trait, filters: dict, zooma_host: str, oxo_target_list: if len(oxo_input_id_list) == 0: return trait trait.oxo_result_list = get_oxo_results(oxo_input_id_list, oxo_target_list, oxo_distance) - if not trait.oxo_result_list: - logger.warning('No OxO mapping for trait {}'.format(trait.name)) - + logger.debug('No OxO mapping for trait {}'.format(trait.name)) trait.process_oxo_mappings() return trait