Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in Scene add_* methods #234

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python-spec/src/somacore/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'``.
Expand Down Expand Up @@ -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'``.
Expand Down
Loading