Skip to content

Commit

Permalink
add folder to assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Nov 2, 2023
1 parent 5b2d5bf commit 43b3788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/waveform_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def create(
if remove_if_exists:
shutil.rmtree(folder)
else:
raise FileExistsError("Folder already exists")
raise FileExistsError(f"Folder {folder} already exists")
folder.mkdir(parents=True)

if use_relative_path:
Expand Down

0 comments on commit 43b3788

Please sign in to comment.