You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deftraverse(next):
enter=do_something() # same as the enter callbackchildren=next(enter)
leave=do_something_else(children) # same as leave the callbackreturnleaveTree.from_swc(...).traverse(traverse)
The advantage of this onion-ring API design is that users can hold a closure to easily retain some information. However, I am not quite sure if such a call would lead to a too deep call stack (in some extreme cases, a neuron may have hundreds of thousands of points).
The text was updated successfully, but these errors were encountered:
The advantage of this onion-ring API design is that users can hold a closure to easily retain some information. However, I am not quite sure if such a call would lead to a too deep call stack (in some extreme cases, a neuron may have hundreds of thousands of points).
The text was updated successfully, but these errors were encountered: