delete previous derivatives when writing derivatives
Closed this issue · 1 comments
gschare commented
During a not dry run (a wet run?) make sure to delete the old derivatives before writing them, to avoid duplicates if we change the naming scheme (or, ahem, accidentally use the wrong naming scheme).
gschare commented
shutil.rmtree()
is the best function for this.