-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bonsai GUI export to NWB #2041
Comments
@rly Thanks for the suggestion, we have also received similar requests a few times and we also are not quite sure where to start! I am outlining our questions / concerns below, happy to have a call to discuss.
Generic writers are informative in Bonsai because the type system can be leveraged to do compile-time code generation as in the case of CSV so that the type metadata can inform the structure of the output file before streaming starts! For example, in the case of NWB we could easily infer the attributes of the table and use that to initialize required metadata.
While I can see the convenience of this solution, I think this would be very unappealing to the general Bonsai community. While the Python scripting package is a very powerful tool to unblock certain advanced applications, it is definitely not a dependency that regular users expect to have and would greatly complicate the deployment process. Furthermore, because the Python package still depends heavily on the GIL (even with 3.13 the transition will be slow), this would kill the implicit parallelism which is one of the core performance features of Bonsai.
I am not sure what AqNWB is, but as long as it allows for threaded parallelism, this sounds reasonable. I probably wouldn't use SWIG but we have other solutions we could recommend to make this possible.
This seems the most pragmatic approach, since you immediately gain the C# wrapper (there are a number of them on nuget.org) and it would give us a chance to build up the NWB standard in a targeted way with optimizations specific to Bonsai.
|
cc @oruebel |
An NWB user asked for NWB export in Bonsai: hdmf-dev/hdmf#1196
The NWB team is willing to help with such a feature, but we do not know where to start. Could you please provide guidance and support? Could we meet with you over a zoom call? cc @justidy1
The text was updated successfully, but these errors were encountered: