Skip to content

Commit

Permalink
Merge pull request #2154 from h-mayorquin/small_fix_in_waveform_docum…
Browse files Browse the repository at this point in the history
…entation

Add folder to `FileExistsError` when creating waveforms
  • Loading branch information
alejoe91 authored Nov 2, 2023
2 parents 6824b2d + 43b3788 commit ba73609
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 ba73609

Please sign in to comment.