Skip to content

Commit 09fde56

Browse files
committed
Merge branch 'update-to-anndata-docstring' of https://github.com/BiocPy/SpatialFeatureExperiment into update-to-anndata-docstring
2 parents 73657a4 + f4c5c95 commit 09fde56

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • src/spatialfeatureexperiment

src/spatialfeatureexperiment/sfe.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -790,11 +790,13 @@ def set_column_data(
790790
######>> AnnData interop <<#####
791791
################################
792792

793-
def to_anndata(self, include_alternative_experiments: bool = False) -> Tuple["anndata.AnnData", Dict[str, "anndata.AnnData"]]:
793+
def to_anndata(
794+
self, include_alternative_experiments: bool = False
795+
) -> Tuple["anndata.AnnData", Dict[str, "anndata.AnnData"]]:
794796
"""Transform :py:class:`~SpatialFeatureExperiment`-like into a :py:class:`~anndata.AnnData` representation.
795797
796798
This method extends the :py:meth:`~SpatialExperiment.to_anndata` method from the parent class
797-
by adding SpatialFeatureExperiment-specific elements to the AnnData object's `uns["spatial"]`
799+
by adding SpatialFeatureExperiment-specific elements to the AnnData object's `uns["spatial"]`
798800
dictionary. The additional elements include:
799801
- `col_geometries`
800802
- `row_geometries`

0 commit comments

Comments
 (0)