Skip to content

Commit 40d2bdf

Browse files
committed
Improve error message
1 parent c4406ca commit 40d2bdf

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/spikeinterface/core/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,11 @@ def load(file_path: Union[str, Path], base_folder: Optional[Union[Path, str, boo
822822

823823
extractor = read_zarr(file_path)
824824
else:
825-
raise NotImplementedError("Only zarr format is supported for remote files")
825+
raise NotImplementedError(
826+
"Only zarr format is supported for remote files and you should provide a path to a .zarr "
827+
"remote path. You can save to a valid zarr folder using: "
828+
"`extractor.save(folder='path/to/folder', format='zarr')`"
829+
)
826830

827831
return extractor
828832

0 commit comments

Comments
 (0)