Skip to content

Commit

Permalink
Logs: demote "OxO no mappings found" warning to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
tskir committed Oct 10, 2019
1 parent 6d2e21f commit b26f05c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions eva_cttv_pipeline/trait_mapping/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b26f05c

Please sign in to comment.