Repository navigation
docs: rework landing page, installation and quickstart; trim the changelog page - #1323
Merged
Merged
Conversation
jan-glx
marked this pull request as ready for review
November 19, 2026 16:38
Zethson
requested changes
Nov 19, 2026
Zethson
left a comment
Member
There was a problem hiding this comment.
Thank you! A few minor requests.
- landing page: say what the Python library does first; move the specifications link to the top of the ecosystem list; drop the card grid (duplicates the sidebar); move the development note above the sponsor block; tighten the dask note (fix #1064 link, drop stale 'upstream fix' sentence) - installation: reword the first paragraph - quickstart: build a SpatialData object from an image, a segmentation mask and an expression table instead of loading blobs
This reverts commit f4143a9.
The old PNG (917x214) looked pixelated. It is now rendered from spatialdata_horizontal.svg with Inkscape at 2x (1834x428), so it stays sharp for the external links that still use it.
…tained 'Unreleased' entries
Collaborator
Author
|
Thanks for the review, implemented all suggestions. |
jan-glx
enabled auto-merge (squash)
November 23, 2026 11:20
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1323 +/- ##
=======================================
Coverage 91.58% 91.58%
=======================================
Files 53 53
Lines 8400 8400
=======================================
Hits 7693 7693
Misses 707 707 🚀 New features to boost your workflow:
|
Zethson
approved these changes
Nov 23, 2026
Zethson
left a comment
Member
There was a problem hiding this comment.
Sorry I missed one point. Then it's good to go!
| This library is currently under active development. We may make changes to the API between versions as the community provides feedback. To ensure reproducibility, please make note of the version you are developing against. | ||
| ``` | ||
|
|
||
| <!-- panache-ignore-format-start --> |
Member
There was a problem hiding this comment.
I think I missed this. Can we keep the cards?
Collaborator
Author
There was a problem hiding this comment.
Sorry, auto-merge was faster than your comment. Restored them in #1331.
jan-glx
added a commit
that referenced
this pull request
Nov 23, 2026
Follow-up to #1323: restores the card grid on the landing page, as requested in #1323 (comment). The block is unchanged from before #1323 and back in the same place, below the NumFOCUS block.
jan-glx
referenced
this pull request
Nov 23, 2026
2 implementations exist. This implementation uses 1 canvas and only removes the label-count limit. The [other implementation](#1166) adds opt-in output tiles after this commit to limit output memory. Compare the limitations. ### Summary In [issue 987](#987), `rasterize(..., return_regions_as_labels=True)` rejects more than `65,535` labels. Select the output dtype from the maximum label. Closes #987. ### Design Use the existing `_get_uint_dtype()` helper, as proposed in the [maintainer direction](#187 (comment)). Small outputs remain `uint16`. Larger outputs use `uint32` or `uint64` only when required. The implementation changes [`src/spatialdata/_core/operations/rasterize.py`](https://github.com/stanbot8/spatialdata/blob/72250aa686c4be535f6d19038f9e0c13a0f2fb9e/src/spatialdata/_core/operations/rasterize.py). ### Limitations This implementation uses 1 canvas. It removes the label-count limit, but it does not bound output memory. ### Tests 1 boundary test rasterizes `65,536` indexed points. It preserves label `65,536` in `uint32` output. The focused rasterization suites pass with `28` tests. The complete suite passes with `1,365` tests, `7` skips, and `1` expected failure. An isolated installed wheel passes the same boundary case. The test is in [`tests/core/operations/test_rasterize.py`](https://github.com/stanbot8/spatialdata/blob/72250aa686c4be535f6d19038f9e0c13a0f2fb9e/tests/core/operations/test_rasterize.py). <details> <summary>Commands</summary> ```console uv run pytest tests/core/operations/test_rasterize.py::test_rasterize_points_selects_label_dtype -q ``` </details> --------- Co-authored-by: Jan Gleixner <jan.gleixner+git@gmail.com> Co-authored-by: Jan Gleixner <j.gleixner@dkfz-heidelberg.de>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A collection of smaller docs changes.
Requires-Pythoninstead of being hard-coded.sdata_ROIand reused foraggregateandwrite.changelogTOC entry) stays, but now only points to GitHub Releases, where release notes are curated (seecontributing.md). The "Unreleased" entries are dropped from it; they should go into the next release notes instead: