Skip to content

Commit 4f98426

Browse files
grstflying-sheep
andauthored
Check links with HEAD request (#249)
Co-authored-by: Phil Schaf <flying-sheep@web.de> Co-authored-by: flying-sheep <291575+flying-sheep@users.noreply.github.com>
1 parent f064346 commit 4f98426

12 files changed

Lines changed: 327 additions & 104 deletions

File tree

.github/workflows/make-tutorials-json.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,11 @@ jobs:
2525
filter: blob:none
2626
fetch-depth: 0
2727

28-
- uses: actions/setup-python@v5
29-
with:
30-
python-version: "3.12"
31-
cache: "pip" # caching pip dependencies
32-
- name: Install dependencies for validation script
33-
run: pip install .[registry]
28+
- name: Install uv
29+
uses: astral-sh/setup-uv@v7
3430
- name: Execute validation script and create output directory
3531
run: |
36-
./tutorial-registry/validate.py --outdir=build
32+
uvx hatch run registry:validate --outdir build
3733
3834
- name: Upload GitHub Pages artifact
3935
uses: actions/upload-pages-artifact@v3

docs/extensions/typed_returns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from sphinx.ext.napoleon import NumpyDocstring
1010

1111

12-
def _process_return(lines: Iterable[str]) -> Generator[str, None, None]:
12+
def _process_return(lines: Iterable[str]) -> Generator[str]:
1313
for line in lines:
1414
if m := re.fullmatch(r"(?P<param>\w+)\s+:\s+(?P<type>[\w.]+)", line):
1515
yield f"-{m['param']} (:class:`~{m['type']}`)"

docs/notebooks/anndata_getting_started.ipynb

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.

docs/notebooks/basic-scrna-tutorial.ipynb

Lines changed: 44 additions & 35 deletions
Large diffs are not rendered by default.

docs/notebooks/scverse_data_backed.ipynb

Lines changed: 193 additions & 17 deletions
Large diffs are not rendered by default.

docs/notebooks/scverse_data_interoperability.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"name": "python",
122122
"nbconvert_exporter": "python",
123123
"pygments_lexer": "ipython3",
124-
"version": "3.12.11"
124+
"version": "3.12.12"
125125
}
126126
},
127127
"nbformat": 4,

docs/notebooks/tutorial_axes_anndata_mudata.ipynb

Lines changed: 57 additions & 9 deletions
Large diffs are not rendered by default.

docs/notebooks/tutorial_concatenation_anndata_mudata.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@
119119
"name": "stderr",
120120
"output_type": "stream",
121121
"text": [
122-
"/home/runner/miniconda3/envs/tutorials/lib/python3.12/site-packages/anndata/_core/anndata.py:1793: UserWarning: Variable names are not unique. To make them unique, call `.var_names_make_unique`.\n",
122+
"/home/runner/miniconda3/envs/tutorials/lib/python3.12/site-packages/anndata/_core/anndata.py:1798: UserWarning: Variable names are not unique. To make them unique, call `.var_names_make_unique`.\n",
123123
" utils.warn_names_duplicates(\"var\")\n",
124-
"/home/runner/miniconda3/envs/tutorials/lib/python3.12/site-packages/anndata/_core/anndata.py:1793: UserWarning: Variable names are not unique. To make them unique, call `.var_names_make_unique`.\n",
124+
"/home/runner/miniconda3/envs/tutorials/lib/python3.12/site-packages/anndata/_core/anndata.py:1798: UserWarning: Variable names are not unique. To make them unique, call `.var_names_make_unique`.\n",
125125
" utils.warn_names_duplicates(\"var\")\n",
126126
"/home/runner/miniconda3/envs/tutorials/lib/python3.12/site-packages/mudata/_core/mudata.py:947: UserWarning: var_names are not unique. To make them unique, call `.var_names_make_unique`.\n",
127127
" warnings.warn(\n"
@@ -948,7 +948,7 @@
948948
"name": "python",
949949
"nbconvert_exporter": "python",
950950
"pygments_lexer": "ipython3",
951-
"version": "3.12.11"
951+
"version": "3.12.12"
952952
},
953953
"vscode": {
954954
"interpreter": {

pyproject.toml

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,12 @@ version = "0.0.1"
88
description = "Tutorials for single-cell analysis with scverse packages"
99
readme = "README.md"
1010
license = "BSD-3-Clause"
11-
maintainers = [
12-
{ name = "scverse team", email = "core-team@scverse.org" },
13-
]
14-
authors = [
15-
{ name = "scverse team" },
16-
]
17-
requires-python = ">=3.10"
11+
maintainers = [ { name = "scverse team", email = "core-team@scverse.org" } ]
12+
authors = [ { name = "scverse team" } ]
13+
requires-python = ">=3.13"
1814
classifiers = [
1915
"Private :: Do Not Upload", # Prevent uploading to PyPI
2016
"Programming Language :: Python :: 3 :: Only",
21-
"Programming Language :: Python :: 3.10",
22-
"Programming Language :: Python :: 3.11",
23-
"Programming Language :: Python :: 3.12",
2417
"Programming Language :: Python :: 3.13",
2518
"Programming Language :: Python :: 3.14",
2619
]
@@ -39,12 +32,7 @@ optional-dependencies.docs = [
3932
"sphinxcontrib-bibtex>=1",
4033
"sphinxext-opengraph",
4134
]
42-
optional-dependencies.registry = [
43-
"httpx",
44-
"jsonschema",
45-
"pillow",
46-
"pyyaml",
47-
]
35+
optional-dependencies.registry = [ "httpx", "jsonschema", "pillow", "pyyaml" ]
4836
urls.Documentation = "https://scverse.org/scverse-tutorials"
4937
urls.Home-page = "https://github.com/scverse/scverse-tutorials"
5038
urls.Source = "https://github.com/scverse/scverse-tutorials"

tutorial-registry/tutorials/decoupler-pseudobulk-de/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Pseudo-bulk differential expression and functional analysis
22
description: |
33
This notebook showcases decoupler for pathway and TF enrichment on ~5k
44
Blood myeloid cells from healthy and COVID-19 infected patients.
5-
link: https://decoupler-py.readthedocs.io/en/latest/notebooks/pseudobulk.html
5+
link: https://decoupler.readthedocs.io/en/latest/notebooks/scell/rna_psbk.html
66
image: icon.png
77
primary_category: scRNA-seq
88
order: 30

0 commit comments

Comments
 (0)