forked from scverse/scanpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport PR scverse#3216: Update notebooks
- Loading branch information
1 parent
0120174
commit abb6724
Showing
4 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
from sphinx.util.docutils import SphinxDirective | ||
|
||
if TYPE_CHECKING: | ||
from typing import ClassVar | ||
|
||
from docutils import nodes | ||
from sphinx.application import Sphinx | ||
|
||
|
||
class CanonicalTutorial(SphinxDirective): | ||
"""In the scanpy-tutorials repo, this links to the canonical location (here!).""" | ||
|
||
required_arguments: ClassVar = 1 | ||
|
||
def run(self) -> list[nodes.Node]: | ||
return [] | ||
|
||
|
||
def setup(app: Sphinx) -> None: | ||
app.add_directive("canonical-tutorial", CanonicalTutorial) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../../notebooks/knn-transformers.ipynb | ||
../../notebooks/how-to/knn-transformers.ipynb |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../../notebooks/plotting-with-marsilea.ipynb | ||
../../notebooks/how-to/plotting-with-marsilea.ipynb |
Submodule notebooks
updated
19 files
+1 −1 | .pre-commit-config.yaml | |
+1 −0 | .readthedocs.yml | |
+1 −1 | README.rst | |
+15 −0 | _static/css/custom.css | |
+9 −0 | basic-scrna-tutorial.ipynb | |
+81 −23 | conf.py | |
+96 −120 | dask.ipynb | |
+8 −0 | how-to/knn-transformers.ipynb | |
+16 −8 | how-to/plotting-with-marsilea.ipynb | |
+7 −3 | index.rst | |
+8 −0 | integrating-data-using-ingest.ipynb | |
+8 −0 | paga-paul15.ipynb | |
+8 −0 | pbmc3k.ipynb | |
+9 −0 | plotting/advanced.ipynb | |
+8 −0 | plotting/core.ipynb | |
+2 −1 | pyproject.toml | |
+8 −0 | spatial/basic-analysis.ipynb | |
+12 −4 | spatial/integration-scanorama.ipynb | |
+26 −18 | tutorial_pearson_residuals.ipynb |