Skip to content

Add scale metadata attribute - #337

Merged
JoOkuma merged 3 commits into
royerlab:mainfrom
cmalinmayor:scale-metadata
Sep 2, 2026
Merged

Add scale metadata attribute#337
JoOkuma merged 3 commits into
royerlab:mainfrom
cmalinmayor:scale-metadata

Conversation

@cmalinmayor

Copy link
Copy Markdown
Contributor

Also adds an enum containing default constant keys for the scale and shape metadata, and some helper functions for manipulating on-disk metadata without loading the graph (mostly for testing purposes).

Technically, I would argue that both scale and shape are the properties of a certain masks column (or even, in the case of scale, of the masks themselves). But, the global property covers most use cases where all masks come from the same segmentation

@TeunHuijben
TeunHuijben requested a review from JoOkuma September 2, 2026 17:48

@JoOkuma JoOkuma left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @cmalinmayor, thanks for the PR.

I left a few minor comments, and I'm approving it so we can merge your reply to them.

Comment thread src/tracksdata/io/_geff.py Outdated
Comment thread src/tracksdata/nodes/_regionprops.py Outdated
@cmalinmayor

Copy link
Copy Markdown
Contributor Author

@JoOkuma I'm good with those changes! Thanks!

@JoOkuma
JoOkuma merged commit 63a1912 into royerlab:main Sep 2, 2026
7 checks passed
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.

2 participants