Repository navigation
Update tutorial notebooks to current read_h5ad and PCA APIs - #13
Merged
Merged
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
sarajimenez
reviewed
Nov 11, 2026
| @@ -112,7 +112,7 @@ | |||
| ], | |||
Member
There was a problem hiding this comment.
Zethson
added a commit
that referenced
this pull request
Nov 15, 2026
#13 switched the PCA call from use_highly_variable=False to mask_var=None but left the markdown cell above it describing the old argument. Addresses #13 (comment)
Zethson
added a commit
that referenced
this pull request
Nov 15, 2026
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.
Zethson
added a commit
to scverse/rapids-singlecell
that referenced
this pull request
Nov 15, 2026
Bumps notebooks 0b059a3 -> f2a9c13, pulling in scverse/rapids-singlecell-tutorials#13, #14 and #15: explicit read_h5ad readers, mask_var=None in brain_1M, read_elem_lazy without the anndata<0.12 gate, rsc.gr.spatial_neighbors_grid in 04_squidpy (re-executed), and removal of a broken trailing cell in 03_decoupler. The notebooks target the released 0.18.1 API; the scanpy 1.13 use/out migration from #882 is not applied to them yet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the tutorial notebooks to use explicit H5AD readers and the current PCA argument.
Validation: the notebooks were tested against the latest rapids-singlecell (rsc) release.