Posts

Showing posts from February 11, 2019

How to delete a node in Neo4j using py2neo?

Image
0 Using py2neo v4 to connect to my Neo4j database and I can't delete nodes via py2neo running a query that works fine in Cypher in the browser. Of course there is no real documentation for either Neo4j or py2neo, so hopefully I can get some help here. There are similar questions, but both Neo4j and py2neo have new versions since then, and those questions/answers are either for other specific cases or are obsolete methods. First, I define this function: def deleteNode(thisNodeID): graph.run("MATCH (n) where id(n) = $nodeID DETACH DELETE n", parameters={"nodeID":thisNodeID}) Then I call the function like: badObjectIDs = [268569,268535,268534] for badID in badObjectIDs: deleteNode(badID) This runs without any trouble, but doesn't delete anything and the nodes ...

Monoprice Graphics Tablet Driver

Image
0 Monoprice 10 x 6.25 inch drawing tablet Ubuntu 18.04 2 Monitors This hardware works as a mouse by default, and when I move the pen from one side to the other it moves from the left of screen #1, to the right of screen #2. I would like to have the tablet independent of the mouse. I would like to be able to constrain or map the tablet area to within a window on either screen. How can I do this? Thanks drivers graphics-tablet share | improve this question asked Jan 8 at 14:21 irich irich 1 1 ...