Skip to content

Commit a775f67

Browse files
committed
2 parents 16c4801 + 584ad9d commit a775f67

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎spatialdata/_core/_spatialdata.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,12 +720,12 @@ def write(
720720
if os.path.exists(file_path):
721721
if parse_url(file_path, mode="r") is None:
722722
raise ValueError(
723-
"The target file path specified already exists, and it has been detected not not be "
723+
"The target file path specified already exists, and it has been detected to not be "
724724
"a Zarr store. Overwriting non-Zarr stores is not supported to prevent accidental "
725725
"data loss."
726726
)
727727
if not overwrite and self.path != str(file_path):
728-
raise ValueError("The Zarr store already exists. Use overwrite=True to overwrite the store.")
728+
raise ValueError("The Zarr store already exists. Use `overwrite=True` to overwrite the store.")
729729
elif str(file_path) == self.path:
730730
raise ValueError(
731731
"The file path specified is the same as the one used for backing. "

0 commit comments

Comments
 (0)