Skip to content

Commit

Permalink
second attempt to deconlict stashed code
Browse files Browse the repository at this point in the history
  • Loading branch information
edeutsch committed Mar 9, 2024
1 parent 4afc997 commit c7559fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/ARAX/ARAXQuery/ARAX_ranker.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,9 +598,15 @@ def aggregate_scores_dmk(self, response):
edge_attributes = {x.original_attribute_name:x.value for x in edge.attributes}
for edge_attribute in edge.attributes:
if edge_attribute.attribute_type_id == "biolink:agent_type" and edge_attribute.value == "manual_agent":
<<<<<<< Updated upstream
edge_attributes['confidence'] = edge_confidence_manual_agent
edge.confidence = edge_confidence_manual_agent
edge_ids_manual_agent.add(edge_key)
=======
response.info(f"encountered an edge with agent_type of manual_agent")
edge.confidence = edge_confidence_manual_agent
edge_attributes['confidence'] = edge.confidence
>>>>>>> Stashed changes
break
else:
edge_attributes = {}
Expand Down

0 comments on commit c7559fc

Please sign in to comment.