bids-standard / pybv

A lightweight I/O utility for the BrainVision data format, written in Python.

Home Page:https://pybv.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

better file management

sappelhoff opened this issue · comments

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.