Created
May 29, 2013 15:04
-
-
Save coolgarifTech/5670986 to your computer and use it in GitHub Desktop.
An important part of the getRels() function in the script that uses the output from our Cypher query to establish the id's of the start and end point nodes in the various relationships in the graph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for rel in querySquenceObject: | |
r = rel.pop() | |
start = r.get('start') | |
end = r.get('end') | |
start = urlparse(start) | |
end = urlparse(end) | |
startNode = doRegEX(start) | |
endNode = doRegEX(end) | |
relsJSON.append(createRelsJSON(startNode, endNode)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment