diff --git a/src/nwp_consumer/internal/entities/tensorstore.py b/src/nwp_consumer/internal/entities/tensorstore.py index bbc7d48f..42253de6 100644 --- a/src/nwp_consumer/internal/entities/tensorstore.py +++ b/src/nwp_consumer/internal/entities/tensorstore.py @@ -147,7 +147,7 @@ def initialize_empty_store( }, ) path = zarrdir + "/" + TensorStore.gen_store_filename(coords=coords) - fs.mkdirs(path=path, exists_ok=True) + fs.mkdirs(path=path, exist_ok=True) store = s3fs.mapping.S3Map(path, fs, check=False, create=True) except Exception as e: return Failure(OSError(