Skip to content

Commit

Permalink
testing without collect
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 committed Mar 2, 2021
1 parent 2a5b3a0 commit de0a090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/configuration/VFBTree/VFBTreeConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var treeCypherQuery = instance => ({
+ "Individual)-[r:INSTANCEOF]->(anat:Class:Nervous_system) WHERE exists(ie.index) WITH root, anat,r,image"
+ " MATCH p=allshortestpaths((root)<-[:SUBCLASSOF|part_of*..]-(anat)) "
+ "RETURN collect(distinct { node_id: id(anat), short_form: anat.short_form, image: image.short_form })"
+ " AS image_nodes, id(root) AS root, collect(p)",
+ " AS image_nodes, id(root) AS root, p",
"resultDataContents": ["row", "graph"]
}
]
Expand Down

0 comments on commit de0a090

Please sign in to comment.