better file management
sappelhoff opened this issue · comments
Stefan Appelhoff commented
We should add a "clean-up" function that makes sure that whenever pybv.write_brainvision is called and errors in the middle of the process, no files or folders are left over.
That is: A bad run must not produce any folders or files
I think currently we do produce a folder on bad runs.