Repository navigation
New snippet for tiff/zip: zenodo-5553771-detecdiv-yeast-trap-segmentation - #34
Merged
Merged
Conversation
… RGB samples collapsed (grey / one-hot class ids / one sample) For issue #33 (zenodo-5553771-detecdiv-yeast-trap-segmentation): the 1,404 brightfield crops are grey stored as three identical RGB samples and the 1,404 masks are one-hot RGB; tiff-zip-member exposed the samples as c, so each image gave three duplicate planes and the harness paired one one-hot plane with each. This snippet expands `<zip>::<glob>` with io.list into a sorted z stack, returns sample 0 for `samples: grey` (after checking the samples agree), argmax+1 class ids for `samples: onehot`, or one plane for `sample: k`. Files are fetched lazily per plane; open_array reads the first file only. Tested: synthetic tiles over the harness range server through the real loader (glob + member mixing, grey/onehot/sample, z slicing, every error path), ci/check_pr.py static checks, harness smoke on the real zip (ok, raw and label 1404x60x59, 1,090,051 bytes) and harness crop --n 3 (labels carry class ids 1..3). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
Author
snippets: round 1 pushed
|
Contributor
Author
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.








Closes #33: For JaneliaSciComp/mia-workflow-data#213: dataset
zenodo-5553771-detecdiv-yeast-trap-segmentationhas no snippet that reads it.Implemented by snippets: Claude Code running in a sandboxed job on the cluster. The agent's own
summary is the first comment.
/approve <head sha>(needed when running under a personal token).snippets merges once an approval matches the current head and checks are not failing.
/revise <what to change>.Up to 3 revision rounds.