Closed romainFr closed 4 years ago
Thanks for this @romainFr. I can’t review now, but did you memoise the check for which fields must be used?
I didn't memoise, but the function that pulls the fields is not called inside repeated calls (like extract_connectivity_df) and it's pretty fast. Let me know if you still think memoise would help.
Hi @romainFr, thanks a lot for this! I'm still reviewing, but I did think it was worth memoising.
Incorporate upstream/downstream as needed (depending on their presence on the server) in neuprint_get_meta, fixes tests. This rests on a couple of utility functions, neuprint_get_fields that checks for the presence of fields in neuron objects, and dfFields which translate them into our usual column names.