From 43b3788dd95d6feb73b5b00aadf150674ee4122e Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Thu, 2 Nov 2023 14:44:09 +0100 Subject: [PATCH] add folder to assertion --- src/spikeinterface/core/waveform_extractor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spikeinterface/core/waveform_extractor.py b/src/spikeinterface/core/waveform_extractor.py index a2b58daa24..c97a727340 100644 --- a/src/spikeinterface/core/waveform_extractor.py +++ b/src/spikeinterface/core/waveform_extractor.py @@ -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: