Skip to content

Commit

Permalink
convert score to float
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Jan 25, 2024
1 parent f23ffa7 commit d710dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trapi_predict_kit/trapi_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d710dc1

Please sign in to comment.