From 89373cf6014f4610cb994b265132f586f803cffd Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Thu, 30 Nov 2023 18:09:29 +0100 Subject: [PATCH] put back score on edge --- src/trapi_predict_kit/trapi_parser.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/trapi_predict_kit/trapi_parser.py b/src/trapi_predict_kit/trapi_parser.py index 6ef0372..46c89a7 100644 --- a/src/trapi_predict_kit/trapi_parser.py +++ b/src/trapi_predict_kit/trapi_parser.py @@ -239,13 +239,13 @@ def resolve_trapi_query(reasoner_query, endpoints_list, infores: str = ""): "attribute_type_id": "EDAM:data_1048", "value": model_id_label, }, - # { - # # TODO: use has_confidence_level? - # "description": "score", - # "attribute_type_id": "EDAM:data_1772", - # "value": association_score - # # https://www.ebi.ac.uk/ols/ontologies/edam/terms?iri=http%3A%2F%2Fedamontology.org%2Fdata_1772&viewMode=All&siblings=false - # }, + { + # TODO: use has_confidence_level? + "description": "score", + "attribute_type_id": "EDAM:data_1772", + "value": association_score + # https://www.ebi.ac.uk/ols/ontologies/edam/terms?iri=http%3A%2F%2Fedamontology.org%2Fdata_1772&viewMode=All&siblings=false + }, # https://github.com/NCATSTranslator/ReasonerAPI/blob/1.4/ImplementationGuidance/Specifications/knowledge_level_agent_type_specification.md { "attribute_type_id": "biolink:agent_type",