Skip to content

Commit

Permalink
Merge pull request #187 from biothings/workflow-id
Browse files Browse the repository at this point in the history
Use lookup_and_score
  • Loading branch information
tokebe authored Apr 12, 2024
2 parents 499b09c + 1c7ecac commit 0c1d167
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export default class TRAPIQueryHandler {
description: `Query processed successfully, retrieved ${results.length} results.`,
schema_version: global.SCHEMA_VERSION,
biolink_version: global.BIOLINK_VERSION,
workflow: [{ id: 'lookup' }],
workflow: [{ id: this.options.smartAPIID || this.options.teamName ? 'lookup' : 'lookup_and_score' }],
message: {
query_graph: this.originalQueryGraph,
knowledge_graph: this.knowledgeGraph.kg,
Expand Down
2 changes: 1 addition & 1 deletion src/inferred_mode/inferred_mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ export default class InferredQueryHandler {
description: '',
schema_version: global.SCHEMA_VERSION,
biolink_version: global.BIOLINK_VERSION,
workflow: [{ id: 'lookup' }],
workflow: [{ id: 'lookup_and_score' }],
message: {
query_graph: this.queryGraph,
knowledge_graph: {
Expand Down

0 comments on commit 0c1d167

Please sign in to comment.