From bf42f1c23186db3675c163a4a3ffdb202132fa17 Mon Sep 17 00:00:00 2001 From: rjawesome Date: Fri, 20 Sep 2024 10:45:42 -0700 Subject: [PATCH] minor import fixes --- src/inferred_mode/inferred_mode.ts | 1 + src/inferred_mode/pathfinder.ts | 2 +- src/inferred_mode/pf_template_generator.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/inferred_mode/inferred_mode.ts b/src/inferred_mode/inferred_mode.ts index 41de5b59..b82f5063 100644 --- a/src/inferred_mode/inferred_mode.ts +++ b/src/inferred_mode/inferred_mode.ts @@ -680,6 +680,7 @@ export default class InferredQueryHandler { qEdgeID, qEdge, combinedResponse, + auxGraphSuffixes ); successfulQueries += querySuccess; if (queryHadResults) resultQueries.push(i); diff --git a/src/inferred_mode/pathfinder.ts b/src/inferred_mode/pathfinder.ts index f366d256..4f4c90f5 100644 --- a/src/inferred_mode/pathfinder.ts +++ b/src/inferred_mode/pathfinder.ts @@ -14,7 +14,7 @@ import { scaled_sigmoid, inverse_scaled_sigmoid } from '../results_assembly/scor import { LogEntry, StampedLog, Telemetry } from '@biothings-explorer/utils'; import Debug from 'debug'; import generateTemplates from './pf_template_generator'; -import biolink from '../biolink'; +import { biolink } from '@biothings-explorer/utils'; import { removeBioLinkPrefix } from '../utils'; const debug = Debug('bte:biothings-explorer-trapi:pathfinder'); diff --git a/src/inferred_mode/pf_template_generator.ts b/src/inferred_mode/pf_template_generator.ts index dfbb5f6f..24e6f1e1 100644 --- a/src/inferred_mode/pf_template_generator.ts +++ b/src/inferred_mode/pf_template_generator.ts @@ -1,7 +1,7 @@ import path from "path"; import fs from "fs/promises"; import yaml2json from "js-yaml"; -import biolink from "../biolink"; +import { biolink } from '@biothings-explorer/utils'; import { TrapiQNode, TrapiQueryGraph } from "@biothings-explorer/types"; interface CategoryTable {