Skip to content

bugfix/open-single-array-scene-list - #246

Closed
rpinho wants to merge 1 commit into
bioio-devs:mainfrom
rpinho:bugfix/open-single-array-scene-list
Closed

rpinho wants to merge 1 commit into
bioio-devs:mainfrom
rpinho:bugfix/open-single-array-scene-list

Conversation

@rpinho

@rpinho rpinho commented Dec 2, 2026

Copy link
Copy Markdown

Who hits this: callers passing a batch of arrays to BioImage when just one scene remains (https://bioio-devs.github.io/bioio/bioio.html#bioio.array_like_reader.ArrayLikeReader).

With default channel names, wrapping a YX or two-channel CYX array in a one-item scene list raises ValueError.

The fix opens the scene with its original pixels and generated channel IDs. For other inputs it's the same as before, also with integer channel names. It has a test for this.

I'm doing this with AI agents. A second agent on a different model checked the bug again from the report alone, without the first agent's code.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BrianWhitneyAI

Copy link
Copy Markdown
Contributor

@rpinho for this ticket and your others, is this found in a discovery loop specifically looking for bugs, or is it found when trying to do something and was blocked by these bugs. A philosophy im trying to adopt in the age of AI is making changes that "users / agents" run into rather than drum up on command

@rpinho rpinho closed this Dec 3, 2026
@BrianWhitneyAI

Copy link
Copy Markdown
Contributor

@rpinho I hope I didn't discourage you from contributing! we greatly appreciate the assistance, we are still adapting to how to work with contributions that use AI from external contributors. Let me rephrase my comment: Is this PR addressing an issue you found during usage of bioio? If so, it would be great if you could make an issue ticket describing it, and link it to this PR. We are hoping to understand the background of the issue as well as the fix!

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