Timeout experienced

29 views
Skip to first unread message

PRATEEK YADAV

unread,
Jan 20, 2023, 8:53:39 AM1/20/23
to neuPrint
Dear all,

I am new to Neuprint so I was just playing around with the database to get a feel for it. I wanted to get a database of all neuron connections but I experienced a timeout error. Following is my code:  

q = """\
    MATCH  (a:Neuron)-[w:ConnectsTo]->(b:Neuron)  
    RETURN a.bodyId, b.bodyId
"""
results = c.fetch_custom(q)
print(f"Found {len(results)} results")
results.head()


And the error msg was: 
HTTPError: Error accessing POST https://neuprint.janelia.org/api/custom/custom Cypher was: MATCH (a:Neuron)-[w:ConnectsTo]->(b:Neuron) RETURN a.bodyId, b.bodyId Returned Error (400): Timeout experienced. This could be due to database traffic or to non-optimal database queries. If the latter, please consult neuPrint documentation or post a question at https://groups.google.com/forum/#!forum/neuprint to understand other options. 

Please help me out. Thank you for your time and consideration.

Best,
Prateek 
Reply all
Reply to author
Forward
0 new messages