-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Feature]: File conversion progress bars #774
Comments
This branch should work for HDF5 at least: hdmf-dev/hdmf#1110 I don't think NeuroConv changes should be needed since they just dynamically pass everything down the chain |
Just flagging that adding Paul's safe conversion strategy to #778 would change a good amount of our error handling for the GUIDE in general, and might be better in a separate Issue / PR |
We can probably just use our own existing endpoint for per-file conversions; the main goal with any kind of 'safe' way of doing that is just that the traceback error stack gets dumped to a persistent file on disk since stdout/stderr pipes are not easily accessible during multiprocessing |
Just implemented a general log system in #778 with a specific endpoint for registering errors from parallel processes! Should give us something useful to work with generally for remote debugging :) Here's an example file: As shown by the |
Very cool! |
Added in #778 |
What would you like to see added to the NWB GUIDE?
Next step after #676 is to do parallel file write and sub bars for the buffers of each file
Here is some basic code that should accomplish this (I'll have to open a small PR to HDMF and HDMF-Zarr to facilitate proper progress bar class specification)
where
safe_session_to_nwb
looks like thiswhere
session_to_nwb
is whatever current function we currently use in the GUIDE to convert a single session to create a single fileInspired by @pauladkisson's contribution on catalystneuro/cookiecutter-my-lab-to-nwb-template#23, which is based on strategies we've used many times for past conversions
Do you have any interest in helping implement the feature?
Yes.
Code of Conduct
Yes
Did you confirm this feature was not already reported?
Yes
The text was updated successfully, but these errors were encountered: