-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNeo4j_request_debug.txt
48 lines (34 loc) · 1.3 KB
/
Neo4j_request_debug.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Results from Neo4j upon request
{"results":[],
"errors" :
[
{
"code" : "Neo.ClientError.Request.InvalidFormat",
"message" : "Unable to deserialize request: Unexpected end-of-input in VALUE_STRING\n at [Source: HttpInputOverHTTP@4fb642b0; line: 1, column: 235]"
}
]
}
// Sample of what request should look like
{
"statements" : [ {
"statement" : "CREATE (n) RETURN id(n)"
} ]
}
// What is being printed out as the request the program is sending
{
"statements" : [ {
"statement" : "MATCH (h:IMGT)-[r1:HAS_GFE]-(g:GFE) WHERE h.locus = \"HLA-A\" AND r1.status = \"Expected
// What is being sent as the request in the program
"MATCH (h:IMGT)-[r1:HAS_GFE]-(g:GFE) " +
"WHERE h.locus = \"" + locus + "\" " +
"AND r1.status = \"Expected\" " +
"RETURN h.name, g.name"
// Single line request in the program
"MATCH (h:IMGT)-[r1:HAS_GFE]-(g:GFE) WHERE h.locus = \"" + locus + "\" AND r1.status = \"Expected\" RETURN h.name, g.name"
// Search terms sent by Michael Halagan
MATCH (h:IMGT)-[r1:HAS_GFE]-(g:GFE)
WHERE h.locus = "HLA-A"
AND r1.status = "Expected"
RETURN h.name, g.name
// Search terms without line breaks
MATCH (h:IMGT)-[r1:HAS_GFE]-(g:GFE) WHERE h.locus = "HLA-A" AND r1.status = "Expected" RETURN h.name, g.name