Skip to content

Commit 3115e1a

Browse files
committed
hotfix: fix + in getNeighbors
1 parent 371eec5 commit 3115e1a

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
@@ -655,10 +655,10 @@ function getNeighbors(dfg::CloudGraphsDFG, node::T; ready::Union{Nothing, Int}=n
655655
query = "(n:$(dfg.userId):$(dfg.robotId):$(dfg.sessionId):$(node.label))--(node) where node:VARIABLE or node:FACTOR "
656656
if ready != nothing || backendset != nothing
657657
if ready != nothing
658-
query = query + "and node.ready = $(ready)"
658+
query = query * "and node.ready = $(ready)"
659659
end
660660
if backendset != nothing
661-
query = query + "and node.backendset = $(backendset)"
661+
query = query * "and node.backendset = $(backendset)"
662662
end
663663
end
664664
neighbors = _getLabelsFromCyphonQuery(dfg.neo4jInstance, query)
@@ -677,10 +677,10 @@ function getNeighbors(dfg::CloudGraphsDFG, label::Symbol; ready::Union{Nothing,
677677
query = "(n:$(dfg.userId):$(dfg.robotId):$(dfg.sessionId):$(label))--(node) where node:VARIABLE or node:FACTOR "
678678
if ready != nothing || backendset != nothing
679679
if ready != nothing
680-
query = query + "and node.ready = $(ready)"
680+
query = query * "and node.ready = $(ready)"
681681
end
682682
if backendset != nothing
683-
query = query + "and node.backendset = $(backendset)"
683+
query = query * "and node.backendset = $(backendset)"
684684
end
685685
end
686686
neighbors = _getLabelsFromCyphonQuery(dfg.neo4jInstance, query)

0 commit comments

Comments
 (0)