Skip to content

Commit

Permalink
Update SOMA version number
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-dark committed Jan 15, 2025
1 parent 20283be commit 3f76dc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/python/src/tiledbsoma/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
SOMA_ENCODING_VERSION = "1.1.0"

SOMA_SPATIAL_VERSION_METADATA_KEY = "soma_spatial_encoding_version"
SOMA_SPATIAL_ENCODING_VERSION = "0.1.0"
SOMA_SPATIAL_ENCODING_VERSION = "0.2.0"


SPATIAL_DISCLAIMER = (
Expand Down
2 changes: 1 addition & 1 deletion apis/python/src/tiledbsoma/_multiscale_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def __init__(
spatial_encoding_version = self.metadata[SOMA_SPATIAL_VERSION_METADATA_KEY]
if isinstance(spatial_encoding_version, bytes):
spatial_encoding_version = str(spatial_encoding_version, "utf-8")
if spatial_encoding_version != "0.1.0":
if spatial_encoding_version not in {"0.1.0", "0.2.0"}:
raise ValueError(
f"Unsupported MultiscaleImage with spatial encoding version "
f"{spatial_encoding_version}"
Expand Down

0 comments on commit 3f76dc8

Please sign in to comment.