Skip to content

Add signature reversal tutorial section - #73

Merged
Zethson merged 3 commits into
scverse:mainfrom
daveringelberg:signature-reversal-tutorial
Aug 30, 2026
Merged

Zethson merged 3 commits into
scverse:mainfrom
daveringelberg:signature-reversal-tutorial

Conversation

@daveringelberg

Copy link
Copy Markdown
Contributor

Companion tutorial update for scverse/pertpy#1082.

Adds the small signature reversal section discussed there, using distance_example() with the required preprocessing and a Scanpy matrix plot.

@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

@daveringelberg
daveringelberg force-pushed the signature-reversal-tutorial branch from 0c5e896 to 371ce9d Compare August 26, 2026 13:11
@Zethson

Zethson commented Aug 26, 2026

Copy link
Copy Markdown
Member

It should also be executed, please so that the output is rendered.

@daveringelberg

Copy link
Copy Markdown
Contributor Author

Done, thanks!

@Zethson

Zethson commented Aug 26, 2026

Copy link
Copy Markdown
Member

Looks nice! Thank you

@daveringelberg

Copy link
Copy Markdown
Contributor Author

Now that scverse/pertpy#1082 has been merged, would this tutorial PR be ready to merge as well?

@Zethson

Zethson commented Aug 30, 2026

Copy link
Copy Markdown
Member

Oh whops. I should have merged this one first and then updated the submodule pointer. My bad. I'll take care of this. Thanks!

@Zethson
Zethson merged commit 8beab62 into scverse:main Aug 30, 2026
Zethson added a commit to scverse/pertpy that referenced this pull request Sep 18, 2026
Pulls in scverse/pertpy-tutorials#75 (the `pt.dt` -> `pt.ds` rename) and
scverse/pertpy-tutorials#73 (the signature reversal section).
Zethson added a commit that referenced this pull request Sep 18, 2026
Follow-up to #75, which crossed with #73.
Zethson added a commit to scverse/pertpy that referenced this pull request Sep 18, 2026
* Prefer `pt.ds` over `pt.dt` for datasets

`ds` reads as "datasets" whereas `dt` was easily mistaken for "data" or
"datetime". The dataset module is now exposed as both `pt.ds` and `pt.dt`,
with all docstrings, tests and docs switched to `pt.ds`. `pt.dt` keeps working
unchanged and without a deprecation warning, so no user code breaks.

The prek mypy hook cannot spawn `mypy` in this checkout, so mypy was run
separately against the project interpreter and passes.

* Bump the tutorials to the `pt.ds` notebooks

Pulls in scverse/pertpy-tutorials#75 (the `pt.dt` -> `pt.ds` rename) and
scverse/pertpy-tutorials#73 (the signature reversal section).

* Drop the datasets accessor note

* Drop the alias test

* Rename the merged enrichment example to `pt.ds`

* Drop the alias comment
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.

2 participants