def rmtree_ignore_error(path):
    try:
        shutil.rmtree(path)
    except OSError:
        pass
Have to do this a lot, moving this into a function to save lines of code.
dataset/ETHPy150Open kenfar/DataGristle/scripts/tests/test_gristle_dir_merger_cmd.py/rmtree_ignore_error