Skip to content

Commit fd2181c

Browse files
authored
Merge pull request #222 from lilab-bcb/anndata-0.12.2-fix
fix for anndata 0.12.2
2 parents 9604730 + 4a5751a commit fd2181c

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.6.0
3+
rev: v6.0.0
44
hooks:
55
# - id: double-quote-string-fixer # for single quotes: uncomment and add black config “skip-string-normalization”
66
- id: trailing-whitespace
77
- id: end-of-file-fixer
88
- repo: https://github.com/PyCQA/docformatter
9-
rev: v1.7.5
9+
rev: v1.7.7
1010
hooks:
1111
- id: docformatter
1212
args: ["--in-place", "--wrap-summaries=100", "--wrap-descriptions=100", "--config=./pyproject.toml"]
1313
- repo: https://github.com/psf/black
14-
rev: 24.8.0
14+
rev: 25.1.0
1515
hooks:
1616
- id: black
1717
- repo: https://github.com/pycqa/isort
18-
rev: 5.13.2
18+
rev: 6.0.1
1919
hooks:
2020
- id: isort
2121
- repo: https://github.com/csachs/pyproject-flake8

cirrocumulus/anndata_dataset.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,11 +233,9 @@ def read_dataset(self, filesystem, path, keys=None, dataset=None):
233233
for key in basis_keys:
234234
embedding_data = adata.obsm[key]
235235
obsm[key] = embedding_data
236-
if X is None: # anndata requires empty X
237-
X = scipy.sparse.coo_matrix(([], ([], [])), shape=(embedding_data.shape[0], 0))
236+
238237
if X is None and obs is None and len(obsm.keys()) == 0:
239238
obs = pd.DataFrame(index=pd.RangeIndex(adata.shape[0]).astype(str))
240-
241239
adata = AnnData(X=X, obs=obs, var=var, obsm=obsm)
242240
if adata_modules is not None:
243241
adata.uns[ADATA_MODULE_UNS_KEY] = adata_modules

docs/release_notes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
Release Notes
22
-------------
33

4+
- 1.1.59 `August 21, 2025`
5+
* Compatibility with anndata 0.12.2
6+
47
- 1.1.58 `September 17, 2024`
58
* Sort categories using natural sort order
69
* Compatibility with anndata 0.10.9

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cirrocumulus",
3-
"version": "1.1.57",
3+
"version": "1.1.58",
44
"private": true,
55
"homepage": ".",
66
"proxy": "http://127.0.0.1:5000",

requirements.txt

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
anndata==0.9.2
2-
CacheControl==0.13.1
3-
flask==2.3.3
4-
flask-compress==1.14
5-
fsspec==2023.9.2
6-
gunicorn==21.2.0
7-
h5py==3.9.0
1+
anndata==0.12.2
2+
CacheControl==0.14.3
3+
Flask==3.1.2
4+
Flask-Compress==1.18
5+
fsspec==2025.7.0
6+
gunicorn==23.0.0
7+
h5py==3.14.0
88
loompy==3.0.7
9-
numpy==1.26.0
10-
pandas==2.1.1
11-
pyarrow==13.0.0
12-
pymongo==4.5.0
13-
requests==2.31.0
14-
scipy==1.11.3
15-
zarr==2.16.1
9+
numpy==2.3.2
10+
pandas==2.3.2
11+
pymongo==4.14.1
12+
requests==2.32.5
13+
scipy==1.16.1
14+
zarr==3.1.1

0 commit comments

Comments
 (0)