Skip to content

Minor bug fixes in CLEM workflow when registering grid squares#774

Merged
tieneupin merged 3 commits intomainfrom
clem-gridsquare-fix
Apr 2, 2026
Merged

Minor bug fixes in CLEM workflow when registering grid squares#774
tieneupin merged 3 commits intomainfrom
clem-gridsquare-fix

Conversation

@tieneupin
Copy link
Copy Markdown
Contributor

@tieneupin tieneupin commented Apr 2, 2026

Pillow uses banker's rounding (round .5 to the nearest even number) internally, so the thumbnail size calculation logic (we are predicting it instead of looking for a file that might not yet be created) has been updated to include rounding when calculating the final image sizes.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.89%. Comparing base (9944767) to head (5a362d7).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #774   +/-   ##
=======================================
  Coverage   48.89%   48.89%           
=======================================
  Files          94       94           
  Lines       10008    10008           
  Branches     1326     1326           
=======================================
  Hits         4893     4893           
  Misses       4860     4860           
  Partials      255      255           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tieneupin tieneupin force-pushed the clem-gridsquare-fix branch from bc75188 to f865be1 Compare April 2, 2026 14:08
@tieneupin tieneupin self-assigned this Apr 2, 2026
@tieneupin tieneupin added server Relates to the server component cryo-clem Part of the cryo-CLEM pipeline extension enhancement New feature or request labels Apr 2, 2026
@tieneupin tieneupin merged commit ad5e512 into main Apr 2, 2026
17 checks passed
@tieneupin tieneupin deleted the clem-gridsquare-fix branch April 2, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryo-clem Part of the cryo-CLEM pipeline extension enhancement New feature or request server Relates to the server component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants