Skip to content

Commit dda4b52

Browse files
committed
hotfix: fix + in getNeighbors
1 parent 025e550 commit dda4b52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/CloudGraphsDFG/services/CloudGraphsDFG.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -647,10 +647,10 @@ function getNeighbors(dfg::CloudGraphsDFG, node::T; ready::Union{Nothing, Int}=n
647647
query = "(n:$(dfg.userId):$(dfg.robotId):$(dfg.sessionId):$(node.label))--(node) where node:VARIABLE or node:FACTOR "
648648
if ready != nothing || backendset != nothing
649649
if ready != nothing
650-
query = query + "and node.ready = $(ready)"
650+
query = query * "and node.ready = $(ready)"
651651
end
652652
if backendset != nothing
653-
query = query + "and node.backendset = $(backendset)"
653+
query = query * "and node.backendset = $(backendset)"
654654
end
655655
end
656656
neighbors = _getLabelsFromCyphonQuery(dfg.neo4jInstance, query)
@@ -669,10 +669,10 @@ function getNeighbors(dfg::CloudGraphsDFG, label::Symbol; ready::Union{Nothing,
669669
query = "(n:$(dfg.userId):$(dfg.robotId):$(dfg.sessionId):$(label))--(node) where node:VARIABLE or node:FACTOR "
670670
if ready != nothing || backendset != nothing
671671
if ready != nothing
672-
query = query + "and node.ready = $(ready)"
672+
query = query * "and node.ready = $(ready)"
673673
end
674674
if backendset != nothing
675-
query = query + "and node.backendset = $(backendset)"
675+
query = query * "and node.backendset = $(backendset)"
676676
end
677677
end
678678
neighbors = _getLabelsFromCyphonQuery(dfg.neo4jInstance, query)

0 commit comments

Comments
 (0)