Skip to content

Refresh notebooks for current rsc, anndata and squidpy APIs - #15

Merged
Zethson merged 1 commit into
mainfrom
chore/notebook-api-refresh
Nov 15, 2026
Merged

Zethson merged 1 commit into
mainfrom
chore/notebook-api-refresh

Conversation

@Zethson

@Zethson Zethson commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Updates the notebooks to the released rapids-singlecell 0.18.1 / anndata 0.13 / squidpy 1.8 APIs.

Targets the released stack: rapids-singlecell 0.18.1, anndata 0.13.4,
scanpy 1.12.2, squidpy 1.8.4, decoupler 2.3.1, pertpy 1.5.0.
rsc 0.18.1 does not import under scanpy 1.13.0, so the scanpy 1.13 /
rsc 0.19 use/out/mask spellings are left for the 0.19 release.

- 04_squidpy: replace sq.gr.spatial_neighbors, deprecated since squidpy
  1.7 and slated for removal in 1.9, with rsc.gr.spatial_neighbors_grid.
  The graph is identical to the old default for Visium (15,580 edges).
  Re-executed end to end; Moran's I is unchanged and Geary's C agrees
  to about 1e-5, the permutation columns and Geary's pval_norm/var_norm moved as expected
  after rsc 0.18.1 aligned Geary's C with squidpy 1.8.2.
- 00/06/07: drop the anndata < 0.12 gate for read_elem_as_dask, which is
  dead code since rsc requires anndata >= 0.12.14, and name
  read_elem_lazy in the prose.
- ligrec_benchmark/seuratv3_harmony: sc.read -> sc.read_h5ad, the two
  calls #13 missed.
- 03_decoupler: fix the network name (CollecTRI, not DoRothEA) and drop
  the trailing cell reading nets/progeny.parquet, a file no notebook
  creates, plus its now-unused pandas import.

Only 04 was re-executed; the other edits do not change outputs.
The lazy-loading cells of 00/06 and the 06 pipeline were smoke-run on
synthetic data with rsc 0.18.1 and anndata 0.13.4.
@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@Zethson
Zethson merged commit f2a9c13 into main Nov 15, 2026
@Zethson
Zethson deleted the chore/notebook-api-refresh branch November 15, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant