Skip to content

Conversation

@timtreis
Copy link
Member

@timtreis timtreis commented Oct 29, 2025

import squidpy as sq

sdata = sq.datasets.visium_hne_sdata()
sq.experimental.im.make_tiles(sdata, image_key="hne", preview=True)
image
import squidpy as sq

sdata = sq.datasets.visium_hne_sdata()
sq.experimental.im.make_tiles_from_spots(
    sdata,
    spots_key="spots",
    image_key="hne",
    tissue_mask_key="hne_tissue",
	preview=True,
)
image

@codecov
Copy link

codecov bot commented Oct 29, 2025

Codecov Report

❌ Patch coverage is 67.66055% with 141 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.77%. Comparing base (4a40d64) to head (47715be).

Files with missing lines Patch % Lines
src/squidpy/experimental/im/_make_tiles.py 68.42% 77 Missing and 49 partials ⚠️
src/squidpy/experimental/im/_utils.py 52.17% 8 Missing and 3 partials ⚠️
src/squidpy/_utils.py 55.55% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1053      +/-   ##
==========================================
+ Coverage   65.52%   65.77%   +0.25%     
==========================================
  Files          43       44       +1     
  Lines        6364     6770     +406     
  Branches     1064     1137      +73     
==========================================
+ Hits         4170     4453     +283     
- Misses       1810     1885      +75     
- Partials      384      432      +48     
Files with missing lines Coverage Δ
src/squidpy/experimental/im/_detect_tissue.py 51.44% <100.00%> (+0.81%) ⬆️
src/squidpy/_utils.py 56.25% <55.55%> (+0.89%) ⬆️
src/squidpy/experimental/im/_utils.py 39.58% <52.17%> (+4.28%) ⬆️
src/squidpy/experimental/im/_make_tiles.py 68.42% <68.42%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timtreis timtreis changed the title Add helper function to tile image for inference Add helper functions to tile image for inference Nov 24, 2025
Copy link
Member

@Zethson Zethson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few random comments as requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants