pynwb.testing.utils module

pynwb.testing.utils.remove_test_file(path)[source]

A helper function for removing intermediate test files

This checks if the environment variable CLEAN_NWB has been set to False before removing the file. If CLEAN_NWB is set to False, it does not remove the file.