Skip to content

Commit

Permalink
Add the Python implementation of the Scene collection (#3116)
Browse files Browse the repository at this point in the history
* Add the Python implementation of the Scene collection

---------

Co-authored-by: nguyenv <vivian@tiledb.com>
  • Loading branch information
jp-dark and nguyenv authored Oct 2, 2024
1 parent 6541cfe commit 0a9bf28
Show file tree
Hide file tree
Showing 8 changed files with 588 additions and 57 deletions.
2 changes: 2 additions & 0 deletions apis/python/src/tiledbsoma/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
from ._measurement import Measurement
from ._multiscale_image import MultiscaleImage
from ._point_cloud_dataframe import PointCloudDataFrame
from ._scene import Scene
from ._sparse_nd_array import SparseNDArray, SparseNDArrayRead
from .options import SOMATileDBContext, TileDBCreateOptions, TileDBWriteOptions
from .pytiledbsoma import (
Expand Down Expand Up @@ -215,6 +216,7 @@
"open",
"PointCloudDataFrame",
"ResultOrder",
"Scene",
"show_package_versions",
"SOMA_JOINID",
"SOMAError",
Expand Down
6 changes: 4 additions & 2 deletions apis/python/src/tiledbsoma/_factory.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2021-2023 The Chan Zuckerberg Initiative Foundation
# Copyright (c) 2021-2023 TileDB, Inc.
# Copyright (c) 2021-2024 The Chan Zuckerberg Initiative Foundation
# Copyright (c) 2021-2024 TileDB, Inc.
#
# Licensed under the MIT License.

Expand Down Expand Up @@ -30,6 +30,7 @@
_measurement,
_multiscale_image,
_point_cloud_dataframe,
_scene,
_soma_object,
_sparse_nd_array,
_tdb_handles,
Expand Down Expand Up @@ -219,6 +220,7 @@ def _type_name_to_cls(type_name: str) -> Type[AnySOMAObject]:
_measurement.Measurement,
_multiscale_image.MultiscaleImage,
_sparse_nd_array.SparseNDArray,
_scene.Scene,
_point_cloud_dataframe.PointCloudDataFrame,
)
}
Expand Down
Loading

0 comments on commit 0a9bf28

Please sign in to comment.