Summary
Run the get-cellxgene-projects-hca script to regenerate site-config/hca-dcp/ma-dev/scripts/out/cellxgene-projects.json with the current CELLxGENE → HCA project ID mappings.
The file was last refreshed in #4361 (commit 60a7a6eb, 2025-01-31) — roughly 16 months old, so any CELLxGENE collections added or removed since then are missing or stale in the explorer.
What the script does
site-config/hca-dcp/ma-dev/scripts/get-cellxgene-projects.ts:
- Fetches
https://api.cellxgene.cziscience.com/curation/v1/collections
- Parses each collection's
links[].link_url for HCA project URLs (data.humancellatlas.org/projects/<id>)
- Sorts the resulting
{cellxgeneId, hcaProjectId} pairs by hcaProjectId (for nice diffs)
- Writes the JSON to
site-config/hca-dcp/ma-dev/scripts/out/cellxgene-projects.json
Steps
npm run get-cellxgene-projects-hca
git diff site-config/hca-dcp/ma-dev/scripts/out/cellxgene-projects.json
If there are changes, commit them on a chore: branch and open a PR (mirroring #4361's pattern).
Acceptance criteria
Summary
Run the
get-cellxgene-projects-hcascript to regeneratesite-config/hca-dcp/ma-dev/scripts/out/cellxgene-projects.jsonwith the current CELLxGENE → HCA project ID mappings.The file was last refreshed in #4361 (commit
60a7a6eb, 2025-01-31) — roughly 16 months old, so any CELLxGENE collections added or removed since then are missing or stale in the explorer.What the script does
site-config/hca-dcp/ma-dev/scripts/get-cellxgene-projects.ts:https://api.cellxgene.cziscience.com/curation/v1/collectionslinks[].link_urlfor HCA project URLs (data.humancellatlas.org/projects/<id>){cellxgeneId, hcaProjectId}pairs byhcaProjectId(for nice diffs)site-config/hca-dcp/ma-dev/scripts/out/cellxgene-projects.jsonSteps
If there are changes, commit them on a
chore:branch and open a PR (mirroring #4361's pattern).Acceptance criteria
cellxgene-projects.jsonupdated if upstream collections changed