Skip to content

Commit

Permalink
changed edge num for pathfinder queries
Browse files Browse the repository at this point in the history
  • Loading branch information
abdollahis2 authored and abdollahis2 committed Nov 13, 2024
1 parent 0d38a5e commit 86f25dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tr_sys/tr_ars/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def submit(req):
# derive query_type
node_count=len(data['message']['query_graph']['nodes'].keys())
edge_count=len(data['message']['query_graph']['edges'].keys())
if node_count==3 and edge_count==2:
if node_count==3 and edge_count==3:
params = {"query_type":"pathfinder"}
if node_count==2 and edge_count==1:
params = {"query_type":"standard"}
Expand Down

0 comments on commit 86f25dd

Please sign in to comment.