Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1065 +/- ##
==========================================
- Coverage 65.55% 65.52% -0.03%
==========================================
Files 43 43
Lines 6361 6356 -5
Branches 1063 1063
==========================================
- Hits 4170 4165 -5
Misses 1808 1808
Partials 383 383
🚀 New features to boost your workflow:
|
timtreis
reviewed
Nov 22, 2025
| df["obs"] = adata.obs_names | ||
|
|
||
| # store dataframes by (slide, anchor) combination and also the corresponding maximum distance for normalization | ||
| # store dataframes by (slide, anchor) combinationq |
Member
|
Can you describe the issue you're solving here better and then also translate this into a test? |
Member
Author
Previous normalization was useless as it just changed the the distance values to be within [0,1] without actually changing the scale. Now the distances from categories with a lower maximum are stretched to be comparable. This doesn't affect the raw distances which are still provided when running this function. I will add a test. |
Member
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.

Distances to anchor point are now actually normalized for each slide respectively.