Skip to content

Commit

Permalink
Fixup some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Nov 21, 2024
1 parent 66d7730 commit ad7247f
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/api/v04.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Version 0.4

::: ome_zarr_models.v04.image
::: ome_zarr_v04.image
2 changes: 1 addition & 1 deletion docs/tutorial.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# # Tutorial

from ome_zarr_models.v04.models
from ome_zarr_v04.models

# my_image = OMEZarrImage(path="path/to/ome/zarr/directory.ome.zarr")
# print(my_image.multiscales)
Expand Down
6 changes: 3 additions & 3 deletions src/ome_zarr_models/v04/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from ome_zarr_models.v04.axes import Axis
from ome_zarr_models.v04.coordinate_transformations import (
from ome_zarr_v04.axes import Axis
from ome_zarr_v04.coordinate_transformations import (
PathScale,
PathTranslation,
VectorScale,
VectorTranslation,
)
from ome_zarr_models.v04.multiscales import Dataset, Multiscale, MultiscaleGroupAttrs
from ome_zarr_v04.multiscales import Dataset, Multiscale, MultiscaleGroupAttrs
2 changes: 1 addition & 1 deletion src/ome_zarr_models/v04/axes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ome_zarr_models.base import Base
from ome_zarr_base import Base


class Axis(Base):
Expand Down
2 changes: 1 addition & 1 deletion src/ome_zarr_models/v04/coordinate_transformations.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ome_zarr_models.base import Base
from ome_zarr_base import Base


from pydantic import Field
Expand Down
4 changes: 2 additions & 2 deletions src/ome_zarr_models/v04/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import warnings
from typing import Annotated, Counter, Hashable, Iterable, Literal
from pydantic import AfterValidator, Field, model_validator
from ome_zarr_models.v04.models.multiscales import MultiscaleGroupAttrs
from ome_zarr_models.base import Base
from ome_zarr_v04.multiscales import MultiscaleGroupAttrs
from ome_zarr_base import Base

ConInt = Annotated[int, Field(strict=True, ge=0, le=255)]
RGBA = tuple[ConInt, ConInt, ConInt, ConInt]
Expand Down
10 changes: 5 additions & 5 deletions src/ome_zarr_models/v04/multiscales.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from typing import Any
from ome_zarr_models.base import Base
from ome_zarr_models.utils import unique_items_validator
from ome_zarr_models.v04.models.axes import Axis
from ome_zarr_models.v04.models.coordinate_transformations import (
from ome_zarr_base import Base
from ome_zarr_utils import unique_items_validator
from ome_zarr_v04.axes import Axis
from ome_zarr_models.v04.coordinate_transformations import (
PathScale,
PathTranslation,
VectorScale,
Expand All @@ -11,7 +11,7 @@


from pydantic import Field, field_validator
from ome_zarr_models.v04.models.omero import Omero
from ome_zarr_v04.omero import Omero


class Dataset(Base):
Expand Down
2 changes: 1 addition & 1 deletion src/ome_zarr_models/v04/omero.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pydantic import BaseModel
from ome_zarr_models.base import Base
from ome_zarr_base import Base


class Window(Base):
Expand Down
2 changes: 1 addition & 1 deletion src/ome_zarr_models/v04/plate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from ome_zarr_models.base import Base
from ome_zarr_base import Base


from pydantic import Field
Expand Down
4 changes: 2 additions & 2 deletions src/ome_zarr_models/v04/well.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ome_zarr_models.base import Base
from ome_zarr_models.utils import unique_items_validator
from ome_zarr_base import Base
from ome_zarr_utils import unique_items_validator


from pydantic import Field, field_validator
Expand Down

0 comments on commit ad7247f

Please sign in to comment.