Skip to content

Commit

Permalink
Merge pull request #316 from dstansby/clean-format-doc
Browse files Browse the repository at this point in the history
Minor improvements to format docs
  • Loading branch information
will-moore authored Oct 10, 2023
2 parents 9ee5142 + 074287d commit 042038c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ome_zarr/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ def detect_format(metadata: dict, default: "Format") -> "Format":


class Format(ABC):
"""
Abstract base class for format implementations.
"""

@property
@abstractmethod
def version(self) -> str: # pragma: no cover
Expand Down Expand Up @@ -275,8 +279,9 @@ def validate_coordinate_transformations(
"""
Validates that a list of dicts contains a 'scale' transformation
Raises ValueError if no 'scale' found or doesn't match ndim
:param ndim: Number of image dimensions
Raises ValueError if no 'scale' found or doesn't match ndim.
:param ndim: Number of image dimensions.
"""

if coordinate_transformations is None:
Expand Down

0 comments on commit 042038c

Please sign in to comment.