Skip to content

Commit 8552e2c

Browse files
authored
Merge branch 'main' into main
2 parents 55a8242 + 70eb2cc commit 8552e2c

92 files changed

Lines changed: 1397 additions & 216 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/make-json.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
19-
- name: setup-yq
20-
run: |
21-
sudo curl -L "https://github.com/mikefarah/yq/releases/download/v4.28.2/yq_linux_amd64" > /usr/local/bin/yq
22-
sudo chmod +x /usr/local/bin/yq
23-
- name: convert to json
19+
- name: Install uv
20+
uses: astral-sh/setup-uv@v7
21+
with:
22+
cache-dependency-glob: scripts/pyproject.toml
23+
- name: Execute validation script and create output directory
2424
run: |
25-
mkdir build
26-
touch build/.nojekyll
27-
cat packages/**/meta.yaml
28-
yq -o=json packages/**/meta.yaml | jq -s . > build/ecosystem.json
25+
uvx --from ./scripts validate-registry --registry-dir packages --outdir=build
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2928
- name: Upload GitHub Pages artifact
3029
uses: actions/upload-pages-artifact@v3
3130
with:

.github/workflows/register-template-repos.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,16 @@ jobs:
1313
- uses: actions/checkout@v4
1414
with:
1515
token: ${{ secrets.BOT_GH_TOKEN }}
16-
- name: Set up Python 3.13
17-
uses: actions/setup-python@v6
16+
- name: Install uv
17+
uses: astral-sh/setup-uv@v7
1818
with:
19-
python-version: "3.13"
20-
cache: "pip"
21-
cache-dependency-path: "**/pyproject.toml"
22-
- name: Install build dependencies
23-
run: python -m pip install --upgrade pip wheel
24-
- name: Install package with scripts
25-
run: pip install ./scripts
19+
cache-dependency-glob: scripts/pyproject.toml
2620
- name: Update template repo registry
27-
run: register-template-repos template-repos.yml
21+
run: uvx --from ./scripts register-template-repos template-repos.yml
2822
env:
2923
GITHUB_TOKEN: "${{ secrets.BOT_GH_TOKEN }}"
24+
FORCE_COLOR: "1"
25+
COLUMNS: "150"
3026
- uses: EndBug/add-and-commit@v9
3127
with:
3228
add: ./template-repos.yml

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ __pycache__/
33
.*cache/
44

55
/.vscode/
6+
.venv
7+
schema.pyi

.pre-commit-config.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,23 @@ repos:
2121
rev: v3.6.2
2222
hooks:
2323
- id: prettier
24+
- repo: https://github.com/tox-dev/pyproject-fmt
25+
rev: v2.6.0
26+
hooks:
27+
- id: pyproject-fmt
2428
# package metadata
2529
- repo: https://github.com/python-jsonschema/check-jsonschema
26-
rev: 0.34.1
30+
rev: 0.35.0
2731
hooks:
2832
- id: check-jsonschema
29-
files: "schema.json"
33+
files: "scripts/src/ecosystem_scripts/schema.json"
3034
args: ["--check-metaschema"]
3135
- repo: https://github.com/python-jsonschema/check-jsonschema
32-
rev: 0.34.1
36+
rev: 0.35.0
3337
hooks:
3438
- id: check-jsonschema
3539
files: "packages/.*/meta.yaml"
36-
args: ["--schemafile", "schema.json"]
40+
args: ["--schemafile", "scripts/src/ecosystem_scripts/schema.json"]
3741
- repo: local
3842
hooks:
3943
- id: forbid-to-commit
@@ -45,7 +49,7 @@ repos:
4549
exclude: "^packages/.*/meta.yaml$"
4650
# template repo registry
4751
- repo: https://github.com/astral-sh/ruff-pre-commit
48-
rev: v0.14.2
52+
rev: v0.14.5
4953
hooks:
5054
- id: ruff-check
5155
args: [--fix, --exit-non-zero-on-fix]

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ It **does not** imply endorsement or that an in-depth review has been performed.
1616

1717
Submit a pull-request adding a `meta.yaml` file for your package to the `packages` directory.
1818

19-
- Please refer to other entries for examples
20-
- The full definition of available fields is available in [`schema.json`](schema.json)
2119
- Please copy the checklist from below into the pull request description and answer all questions.
20+
- Please refer to other entries for examples
21+
- The full definition of available fields is available in [`schema.json`](scripts/src/ecosystem_scripts/schema.json)
22+
- You can add a logo in svg/png/webp format if you like. Currently it is not used on our website, though.
2223

2324
## What are the requirements for an ecosystem package?
2425

packages/CellAnnotator/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CellAnnotator
22
description: |
3-
CellAnnotator is a leightweight tool to query large language models for cell type labels in scRNA-seq data. It can incorporate prior knowledge, and it creates consistent labels across samples in your study.
3+
CellAnnotator is a lightweight tool to query large language models for cell type labels in scRNA-seq data. It can incorporate prior knowledge, and it creates consistent labels across samples in your study.
44
project_home: https://github.com/quadbio/cell-annotator
55
documentation_home: https://cell-annotator.readthedocs.io/en/latest/
66
install:
@@ -13,6 +13,6 @@ tags:
1313
- cell state
1414
license: MIT
1515
version: v0.1.3
16-
authors:
16+
contact:
1717
- Marius1311
1818
test_command: pip install -e '.[test]' && pytest

packages/CellCharter/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ tags:
1515
- gaussian mixture model
1616
license: BSD-3-Clause
1717
version: v0.3.1
18-
authors:
18+
contact:
1919
- marcovarrone
2020
test_command: |
2121
pip install ".[test]" && pytest

packages/CellMapper/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ tags:
1212
- query-to-reference
1313
license: MIT
1414
version: v0.1.2
15-
authors:
15+
contact:
1616
- Marius1311
1717
test_command: pip install -e '.[test]' && pytest

packages/CellOracle/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ tags:
1414
- TF
1515
license: Apache-2.0
1616
version: v0.10.12
17-
authors:
18-
- KenjiKamimoto-wustl122
17+
contact:
18+
- KenjiKamimoto-ac
1919
- sam-morris
2020
- cmhct7
2121
test_command: |

packages/CellRank/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tags:
1717
- trajectory-generation
1818
license: BSD-3-Clause
1919
version: v1.5.1
20-
authors:
20+
contact:
2121
- Marius1311
2222
- michalk8
2323
- WeilerP

0 commit comments

Comments
 (0)