Skip to content

Commit

Permalink
replace get_strain_reference_link with get_sbh_uri when calling analy…
Browse files Browse the repository at this point in the history
…zing terms
  • Loading branch information
tramyn committed Feb 8, 2021
1 parent ba67f55 commit 78b9a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions intent_parser/server/intent_parser_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down Expand Up @@ -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}

Expand Down

0 comments on commit 78b9a3e

Please sign in to comment.