SingleCellExperiment 0.5.3__tar.gz → 0.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/.pre-commit-config.yaml +1 -1
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/PKG-INFO +2 -2
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/SingleCellExperiment.egg-info/PKG-INFO +2 -2
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/SingleCellExperiment.py +23 -1
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/.coveragerc +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/.github/workflows/publish-pypi.yml +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/.github/workflows/run-tests.yml +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/.gitignore +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/.readthedocs.yml +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/AUTHORS.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/CHANGELOG.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/CONTRIBUTING.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/LICENSE.txt +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/README.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/Makefile +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/_static/.gitignore +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/authors.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/changelog.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/conf.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/contributing.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/index.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/license.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/readme.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/requirements.txt +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/docs/tutorial.md +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/pyproject.toml +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/setup.cfg +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/setup.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/SingleCellExperiment.egg-info/SOURCES.txt +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/SingleCellExperiment.egg-info/dependency_links.txt +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/SingleCellExperiment.egg-info/not-zip-safe +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/SingleCellExperiment.egg-info/requires.txt +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/SingleCellExperiment.egg-info/top_level.txt +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/__init__.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/_combineutils.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/_ioutils.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/io/__init__.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/io/h5ad.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/io/tenx.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/conftest.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/data/adata.h5ad +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/data/mocks.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/data/tenx.sub.h5 +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/test_sce.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/test_sce_combine_cols.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/test_sce_combine_rows.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/test_sce_io.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/test_sce_methods.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tests/test_sce_slice.py +0 -0
- {singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/tox.ini +0 -0
|
@@ -1050,8 +1050,30 @@ class SingleCellExperiment(RangedSummarizedExperiment):
|
|
|
1050
1050
|
"""
|
|
1051
1051
|
obj = super().to_anndata()
|
|
1052
1052
|
|
|
1053
|
+
from delayedarray import (
|
|
1054
|
+
DelayedArray,
|
|
1055
|
+
is_sparse,
|
|
1056
|
+
to_dense_array,
|
|
1057
|
+
to_scipy_sparse_matrix,
|
|
1058
|
+
)
|
|
1059
|
+
|
|
1053
1060
|
if self.reduced_dims is not None:
|
|
1054
|
-
|
|
1061
|
+
mat = self._reduced_dims
|
|
1062
|
+
if isinstance(mat, DelayedArray) or issubclass(type(mat), DelayedArray):
|
|
1063
|
+
if is_sparse(mat):
|
|
1064
|
+
warn(
|
|
1065
|
+
"Converting delayedarray into sparse, may require more memory",
|
|
1066
|
+
RuntimeWarning,
|
|
1067
|
+
)
|
|
1068
|
+
|
|
1069
|
+
mat = to_scipy_sparse_matrix(mat)
|
|
1070
|
+
else:
|
|
1071
|
+
warn(
|
|
1072
|
+
"Converting delayedarray into dense, may require more memory",
|
|
1073
|
+
RuntimeWarning,
|
|
1074
|
+
)
|
|
1075
|
+
mat = to_dense_array(mat)
|
|
1076
|
+
obj.obsm = mat
|
|
1055
1077
|
|
|
1056
1078
|
if self.row_pairs is not None:
|
|
1057
1079
|
obj.varp = self.row_pairs
|
|
File without changes
|
{singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/.github/workflows/publish-pypi.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/__init__.py
RENAMED
|
File without changes
|
{singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/_combineutils.py
RENAMED
|
File without changes
|
{singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/_ioutils.py
RENAMED
|
File without changes
|
{singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/io/__init__.py
RENAMED
|
File without changes
|
{singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/io/h5ad.py
RENAMED
|
File without changes
|
{singlecellexperiment-0.5.3 → singlecellexperiment-0.5.4}/src/singlecellexperiment/io/tenx.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|