From b5b281f2ad542d821e67b9a46502225a412915a3 Mon Sep 17 00:00:00 2001 From: Jeremy Magland Date: Tue, 24 Sep 2024 20:33:57 -0400 Subject: [PATCH] Update lindi/LindiH5pyFile/LindiH5pyFile.py Co-authored-by: Ryan Ly --- lindi/LindiH5pyFile/LindiH5pyFile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lindi/LindiH5pyFile/LindiH5pyFile.py b/lindi/LindiH5pyFile/LindiH5pyFile.py index 2989f41..7dcd3ec 100644 --- a/lindi/LindiH5pyFile/LindiH5pyFile.py +++ b/lindi/LindiH5pyFile/LindiH5pyFile.py @@ -275,7 +275,7 @@ def write_lindi_file(self, filename: str, *, generation_metadata: Union[dict, No 'generationMetadata' key in the reference file system. """ if not filename.endswith(".lindi.json") and not filename.endswith(".lindi.tar") and not filename.endswith(".lindi.d"): - raise ValueError("Filename must end with '.lindi.json' or '.lindi.tar'") + raise ValueError("Filename must end with '.lindi.json', '.lindi.tar', or '.lindi.d'.") rfs = self.to_reference_file_system() if self._source_tar_file: source_is_remote = self._source_url_or_path is not None and (self._source_url_or_path.startswith("http://") or self._source_url_or_path.startswith("https://"))