Skip to content

Commit

Permalink
Confused in the git...
Browse files Browse the repository at this point in the history
  • Loading branch information
yger committed Jul 1, 2024
2 parents e052f04 + f8ea231 commit 18eeb87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/spikeinterface/preprocessing/motion.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ def correct_motion(
if overwrite:
if folder.is_dir():
import shutil

shutil.rmtree(folder)
else:
assert not folder.exists(), f"Folder {folder} already exists"
Expand Down

0 comments on commit 18eeb87

Please sign in to comment.