From d710dc19ae8d811fad3b23e5eb7ffcf7df4b4afe Mon Sep 17 00:00:00 2001 From: Vincent Emonet Date: Thu, 25 Jan 2024 10:57:23 +0100 Subject: [PATCH] convert score to float --- src/trapi_predict_kit/trapi_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trapi_predict_kit/trapi_parser.py b/src/trapi_predict_kit/trapi_parser.py index 46c89a7..7e23be9 100644 --- a/src/trapi_predict_kit/trapi_parser.py +++ b/src/trapi_predict_kit/trapi_parser.py @@ -202,7 +202,7 @@ def resolve_trapi_query(reasoner_query, endpoints_list, infores: str = ""): # edge_association_type = 'biolink:ChemicalToDiseaseOrPhenotypicFeatureAssociation' # relation = 'RO:0002434' # interacts with # relation = 'OBOREL:0002606' - association_score = str(association["score"]) + association_score = float(association["score"]) model_id_label = model_id if not model_id_label: