From 12eaf1078b60f5659d13fefab9ebae1326088174 Mon Sep 17 00:00:00 2001 From: Julia Dark Date: Thu, 3 Oct 2024 12:11:52 -0400 Subject: [PATCH] Fix typos in Scene `add_*` methods --- python-spec/src/somacore/scene.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-spec/src/somacore/scene.py b/python-spec/src/somacore/scene.py index 9806a66..d0c3852 100644 --- a/python-spec/src/somacore/scene.py +++ b/python-spec/src/somacore/scene.py @@ -159,7 +159,7 @@ def add_multiscale_image( uri: str, type: pa.DataType, reference_level_shape: Sequence[int], - axis_names: Sequence[str] = ("c", "x", "y"), + axis_names: Sequence[str] = ("c", "y", "x"), axis_types: Sequence[str] = ("channel", "height", "width"), ) -> _MultiscaleImage: """Adds a ``MultiscaleImage`` to the scene and sets a coordinate transform @@ -169,7 +169,7 @@ def add_multiscale_image( See :meth:`add_new_collection` for details about child URIs. Args: - key: The name of the geometry dataframe. + key: The name of the multiscale image. transform: The coordinate transformation from the scene to the dataframe. subcollection: The name, or sequence of names, of the subcollection the dataframe is stored in. Defaults to ``'obsl'``. @@ -202,7 +202,7 @@ def add_new_point_cloud_dataframe( See :meth:`add_new_collection` for details about child URIs. Args: - key: The name of the geometry dataframe. + key: The name of the point cloud dataframe. transform: The coordinate transformation from the scene to the dataframe. subcollection: The name, or sequence of names, of the subcollection the dataframe is stored in. Defaults to ``'obsl'``.