Skip to content

Commit

Permalink
Merge pull request #1031 from VirtualFlyBrain/debug
Browse files Browse the repository at this point in the history
Fix for graph sync
  • Loading branch information
Robbie1977 authored Mar 2, 2021
2 parents b1f051d + fa8228c commit 8444d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
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
3 changes: 1 addition & 2 deletions components/interface/VFBGraph/VFBGraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,7 @@ class VFBGraph extends Component {
* Handle Left click on Nodes
*/
handleNodeLeftClick (node, event) {
this.nodeSelectedID = node.title;
this.queryNewInstance(node);
window.addVfbId(node.title);
}

/**
Expand Down

0 comments on commit 8444d9a

Please sign in to comment.