Skip to content

Commit 75f2d35

Browse files
committed
Oops
1 parent 9c26b3f commit 75f2d35

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/CloudGraphsDFG/services/CloudGraphsDFG.jl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -509,18 +509,8 @@ Retrieve a list of labels of the immediate neighbors around a given variable or
509509
"""
510510
function getNeighbors(dfg::CloudGraphsDFG, node::T; ready::Union{Nothing, Int}=nothing)::Vector{Symbol} where T <: DFGNode
511511
query = "(n:$(dfg.userId):$(dfg.robotId):$(dfg.sessionId):$(node.label))--(node) where (node:VARIABLE or node:FACTOR) "
512-
<<<<<<< HEAD
513512
if ready != nothing
514513
query = query * " and node.ready >= $(ready)"
515-
=======
516-
if ready != nothing || backendset != nothing
517-
if ready != nothing
518-
query = query * " and node.solvable >= $(ready)"
519-
end
520-
if backendset != nothing
521-
query = query * " and node.solveInProgress = $(backendset)"
522-
end
523-
>>>>>>> 266f80b3a71e8a4f8749fe34d74613606141b7eb
524514
end
525515
@debug "[Query] $query"
526516
neighbors = _getLabelsFromCyphonQuery(dfg.neo4jInstance, query)
@@ -537,18 +527,8 @@ Retrieve a list of labels of the immediate neighbors around a given variable or
537527
"""
538528
function getNeighbors(dfg::CloudGraphsDFG, label::Symbol; ready::Union{Nothing, Int}=nothing)::Vector{Symbol}
539529
query = "(n:$(dfg.userId):$(dfg.robotId):$(dfg.sessionId):$(label))--(node) where (node:VARIABLE or node:FACTOR) "
540-
<<<<<<< HEAD
541530
if ready != nothing
542531
query = query * " and node.ready >= $(ready)"
543-
=======
544-
if ready != nothing || backendset != nothing
545-
if ready != nothing
546-
query = query * " and node.solvable >= $(ready)"
547-
end
548-
if backendset != nothing
549-
query = query * " and node.solveInProgress = $(backendset)"
550-
end
551-
>>>>>>> 266f80b3a71e8a4f8749fe34d74613606141b7eb
552532
end
553533
@debug "[Query] $query"
554534
neighbors = _getLabelsFromCyphonQuery(dfg.neo4jInstance, query)

0 commit comments

Comments
 (0)