-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add node attribute bracket syntax (#112)
* Update grammar and tests * Enforce quoted attributes * Update neuPrint and Neo4j executors * Update documentation with examples * Update changelog * Update version for 0.11.0 deploy * Fix tests to match new attribute escapes * Add quote escaping tests
- Loading branch information
Showing
9 changed files
with
156 additions
and
26 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import dotmotif | ||
from dotmotif.executors.NeuPrintExecutor import NeuPrintExecutor | ||
|
||
HOSTNAME = "neuprint.janelia.org" | ||
DATASET = "hemibrain:v1.2.1" | ||
TOKEN = "[YOUR TOKEN HERE]" | ||
|
||
motif = dotmotif.Motif( | ||
""" | ||
A -> B | ||
A['AVLP(R)'] = True | ||
""" | ||
) | ||
|
||
E = NeuPrintExecutor(HOSTNAME, DATASET, TOKEN) | ||
|
||
E.find(motif, limit=2) |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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