error with flywire_partner_summary

16 views
Skip to first unread message

Ibrahim Taştekin

unread,
Sep 1, 2023, 6:30:35 AM9/1/23
to nat-user
Dear Greg,

I hope you are well. 

I am getting the following error when I run:

post_synaptic<-flywire_partner_summary(rootid= query_neurons,
+                                  partners = 'outputs',
+                                  remove_autapses =TRUE, threshold = 0, cleft.threshold = 50) # remove autapse and define a minimum synaptic threshold
  |+++++++++                                         | 17% ~03m 25s      Error in curl::curl_fetch_memory(url, handle = handle) :
  HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

If I retry couple of times it is possible to run it successfully, though.

Best
Ibo

Greg Jefferis

unread,
Sep 1, 2023, 6:56:31 AM9/1/23
to Ibrahim Taştekin, nat-user
Thanks, Ibo. That must be quite a lot of ids for the "live" query (flywire_partner_summary) to take ~4m and the whole CAVE+itanna server infrastructure is not completely robust when you start sending a lot of queries. A few options

1. try adding the retry argument eg retry=3. This doesn't apply to all of the server endpoints but can help with some
2. try method="cave" (if you haven't already). This moves all of the query to CAVE rather than itanna in case those are the flaky servers
3. try the hidden fafbseg:::flywire_partners_cave() method with multiple ids at once (by default it only sends one neuron at a time because of possible row limits in the response, but this is very conservative).

or if you can with you application,

4. switch to a connectivity dump with flywire_partner_summary2. The latest dump is v756 which is pretty recent. If you've never downloaded a dump before then flywire_partner_summary2 should tell you what do. If you want a newer one then see slack message at https://flywire-forum.slack.com/archives/C01M4LP2Y2D/p1644529750249139) for download link.

and you can also run

fafbseg:::flywire_connectome_data_message()

to be told where to put the resultant file. All the best,

Greg.

--
You received this message because you are subscribed to the Google Groups "nat-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nat-user+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/nat-user/9de628b4-ab5f-4b04-b7a3-1cba0c30f0c7n%40googlegroups.com.

Ibrahim Taştekin

unread,
Sep 1, 2023, 7:46:38 AM9/1/23
to Greg Jefferis, nat-user
Thanks a lot Greg! method ='cave' solved the problem!
Reply all
Reply to author
Forward
0 new messages