From 78b9a3ec7b3a846f7d28af55b7a1544b5b06d548 Mon Sep 17 00:00:00 2001 From: tramyn Date: Mon, 8 Feb 2021 15:12:51 -0700 Subject: [PATCH] replace get_strain_reference_link with get_sbh_uri when calling analyzing terms --- intent_parser/server/intent_parser_processor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intent_parser/server/intent_parser_processor.py b/intent_parser/server/intent_parser_processor.py index ca2b73e..70f50cd 100644 --- a/intent_parser/server/intent_parser_processor.py +++ b/intent_parser/server/intent_parser_processor.py @@ -279,7 +279,7 @@ def _report_current_analyze_term(self, document_id): actions.append(final_result_action) else: search_result_actions = intent_parser_view.create_analyze_result_dialog(current_result.get_matching_term(), - current_result.get_strain_reference_link(), + current_result.get_sbh_uri(), current_result.get_matching_term(), document_id, current_result.get_paragraph_index(), @@ -562,7 +562,7 @@ def process_analyze_yes_to_all(self, document_id, data): actions.append(intent_parser_view.link_text(term.get_paragraph_index(), term.get_start_offset(), term.get_end_offset(), - term.get_strain_reference_link())) + term.get_sbh_uri())) actions.extend(self._report_current_analyze_term(document_id)) return {'actions': actions}