Skip to content

Commit dfdcfc6

Browse files
authored
Merge pull request #204 from WengLab-InformaticsResearch/mcq
Bug fix: support graph added to edge attribute value
2 parents b2f87ef + b216068 commit dfdcfc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cohd/cohd_trapi_15.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class CohdTrapi150(CohdTrapi):
4242
edge_types_negative = ['biolink:negatively_correlated_with']
4343
default_negative_predicate = edge_types_negative[0]
4444

45-
tool_version = f'{CohdTrapi._SERVICE_NAME} 6.5.0'
45+
tool_version = f'{CohdTrapi._SERVICE_NAME} 6.5.1'
4646
schema_version = '1.5.0'
4747
biolink_version = bm_version
4848

@@ -1193,7 +1193,7 @@ def _add_mcq_result(self, set_result, single_results, criteria):
11931193
kg_set_edge['attributes'].append({
11941194
"attribute_source": CohdTrapi._INFORES_ID,
11951195
"attribute_type_id": "biolink:support_graphs",
1196-
"values": support_graphs
1196+
"value": support_graphs
11971197
})
11981198

11991199
def _add_result(self, kg_node_1_id, kg_node_2_id, kg_edge_id, score):

0 commit comments

Comments
 (0)